How to calculate
Count the combinations with the required matches and divide by all possible draws. Multiply by the bonus match probability when a second condition is required.
Worked example
Use Number of balls in main pool 49 · Main numbers on ticket 6 · Main numbers drawn 6 · Exact main matches 6 · Bonus condition Main pool only. The result is ≈ 0.0000071511238420185163%.
Input and result notes
Main draws are unordered and without replacement. The result is for exactly the entered number of matches.