Methodology and data
The short version: public data, exact maths, labelled assumptions, and no attempt to predict anything.
Results data
Results come from the dataset "Lottery Mega Millions Winning Numbers: Beginning 2002" (id 5xaw-6ayf) on the State of New York's open-data portal, used under the portal's terms of use. Your browser requests it directly from data.ny.gov; that request contains no ticket numbers. We keep the parsed list in your browser's local storage for up to three hours with its retrieval time, and every result shows that time. If the feed fails and nothing is saved, we show links to official results pages instead of old or sample data.
The parser accepts small format changes in the feed: field names such as draw_date/DrawDate, numbers separated by spaces or commas, and a Mega Ball either in its own field or as a sixth number. Rows that can't be read cleanly are dropped, never guessed.
Game rules and eras
The number ranges and prize table have changed over time. For the current period (April 2025 – present) we use 5 white balls from 1–70 and 1 Mega Ball from 1–24. On 2026-11-18 we checked these rules, the $5 price and the nine base prizes against the New York Lottery Mega Millions page (rendered in a headless browser; the game site and several other state lottery sites returned access errors). It states: "Choose five numbers from 1 to 70 and one number from 1 to 24 for your Mega Ball." Earlier versions of the game have not been checked on an official page, so they stay labelled "unverified on this build" and the ticket checker shows match counts rather than prize-tier names for those draws.
Odds
Odds are exact combinatorics: C(70,5) × 24 = 12,103,014 × 24 = 290,472,336 equally likely outcomes. A tier matching w white balls has C(5,w) × C(65,5−w) winning white-ball sets, times 1 (Mega Ball hit) or 23 (miss).
Expected value and tax
The calculator uses the inputs you type (jackpot, cash share, tax rates, other lines sold). Federal withholding of 24% on lottery winnings over $5,000 is quoted from the IRS Instructions for Forms W-2G and 5754 and IRS Publication 505, both opened on 2026-11-18. Jackpot sharing uses a simple Poisson model, labelled as such.
No predictions, ever
Draws are independent and random. We don't publish picks or patterns, and any future frequency table will open with a randomness note and be split by game era.
Testing
Before each release an automated suite checks the combinatorics against hand calculations, the prize-tier matching, the expected-value and tax arithmetic, the feed parser against several data formats, and that every page carries the disclaimer and responsible-play note.