To calculate your odds of winning the lottery, use the formula: factorial of n over factorial of r times factorial of n minus r, where n is the total number of possible numbers and r is the number of numbers chosen.