A miracle calculator works out how many miracles you should expect over a period of time, if a miracle is just a one-in-a-million event and you meet a steady stream of events every day. It is a playful use of Littlewood's law, and the sums are simple.
How to use the miracle calculator
- Enter the time period and choose its unit.
- Enter the hours awake, the events per second and the odds of a miracle.
- Add the number of miracles you want, if any, and press Calculate.
Littlewood's law
Littlewood's law is credited to the mathematician John Littlewood, and Freeman Dyson gave it its name in a 2004 review [1]. In Dyson's version, a miracle is an event that is special when it happens but has a probability of one in a million. He reasons that we see and hear things at a rate of about one per second for roughly 8 hours each day, which is about 30,000 events a day, so we should meet a miracle at a rate of roughly one per month [1].
The defaults
The calculator starts from Dyson's numbers: 8 hours awake, 1 event per second and odds of 1 in 1,000,000 [1]. That gives 8 × 3,600 × 1 = 28,800 events a day. Dyson's round figure is about 30,000 a day, so the two differ a little. With 28,800 events a day the average wait for one miracle is 1,000,000 ÷ 28,800, about 34.7 days, where Dyson says roughly a month.
The formulas
The arithmetic is our own working from Dyson's definition. Events per day are the hours awake times 3,600 seconds times the events per second. Events in the period are the events per day times the days. The expected number of miracles is the events in the period divided by the odds, and the average wait for one miracle is the odds divided by the events per day. The wait for several miracles is the number times that wait.
A worked example
Over 30 days, 28,800 events a day make 864,000 events, which at one in a million is 0.864 miracles. Over 35 days, it is 1,008,000 events, about one miracle. For six months, taken as 182.5 days, it is 5,256,000 events and about 5.26 miracles, and for one year, 10,512,000 events and about 10.5. All of these figures are our own arithmetic on the defaults.
Waiting for more than one
Enter a number of miracles to see the average wait. For 2 miracles at the defaults, the wait is 2 × 1,000,000 ÷ 28,800 = 69.44 days, which is just under 10 weeks. Doubling the odds to 1 in 2,000,000, or halving the events per second, doubles the wait. The tool shows the average wait, so a real run of luck can be shorter or longer.
Changing the odds
The odds are the most important input. If you call an event a miracle when it has a chance of 1 in 200,000, then 28,800 events a day give 0.144 miracles a day, and about one miracle every 6.9 days. A looser definition makes miracles common and a stricter one makes them rare. The page lets you try any odds from 1 in 1 upwards, so you can see how the definition drives the answer.
Time units
You can enter the period in days, weeks, months or years. The page converts them to days with 7 days for a week, one twelfth of 365 days for a month and 365 days for a year. That is our own working. For six months, the page uses 182.5 days. A leap year would add a few events, and would not change the picture.
What counts as an event
The answer depends on what you call an event. If you count each thing you see or hear for one second as an event, you may reach one a second. If you count only the things that matter to you, the number is far lower. The maths of the law is simple, but the result rests entirely on how you define an event and a miracle, which makes the idea more about psychology than about statistics. That observation is our own.
An expected value
The calculator gives an average, not a promise. It does not give the chance of seeing at least one miracle in a week, because the source that we read states no such probability, and we did not add one. A result of 0.864 means that, over many 30-day periods, you would see 0.864 miracles per period on average, and that says nothing about what will happen in any one period.
Using it for fun
The page is a good way to see why remarkable coincidences are not so remarkable. Given enough events, rare things happen to someone all the time. Try different values for the hours awake, and see that a person who sleeps less meets more events. Then try a stricter definition of a miracle, and see how quickly the miracles disappear. The numbers are a toy model, and they are best used as one.
Common mistakes
- Treating the result as a forecast. It is an average from a simple model.
- Forgetting the definition of an event. The answer depends on it.
- Entering the odds as a percentage. Enter 1 in N, for example 1000000.
- Using more than 24 hours awake. The page does not accept it.
What next
Use this often? Add Miracle to your Home screen.
Frequently asked questions
What is a miracle calculator?
A tool that uses Littlewood's law to estimate how many one-in-a-million events you should expect to see in a period.
What is Littlewood's law?
It says that, if you define a miracle as a one-in-a-million event and meet about one event per second for 8 hours a day, you should see about one miracle a month.
How does the miracle calculator work out the result?
It multiplies the hours awake by 3,600 and the events per second, multiplies by the days, and divides by the odds.
How long until I see two miracles?
With the defaults it is about 69.4 days on average, from 2 times 1,000,000 divided by 28,800 events a day.
Is the result a prediction?
No. It is an expected value from a simple model, and it depends on how you define an event and a miracle.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.