Half-life calculator

Enter a starting amount, the half-life and the time that has passed, and see how much is left, how much has gone, and how many half-lives that is.

Any unit: the answer comes out in the same one. A strong coffee has about 100 to 200 mg of caffeine
Caffeine about 5 h, iodine-131 8.02 days, carbon-14 5,730 years
Amount left–
Fraction left–
Amount decayed or removed–
Number of half-lives–half-lives
Mean lifetime (half-life ÷ ln 2)–

See it for real: play The Tree That Saw Everything or play Drop a Thousand Marbles.

The formula

The half-life is the time it takes for half of something to disappear. After one half-life, half is left; after two, a quarter; after three, an eighth. The amount left after time t is:

N = N0 × (½)t / T  =  N0 × e−t / τ

N0 is the starting amount, N the amount left, t the time passed and T the half-life, in the same time unit as t. The second form uses the mean lifetime τ = T / ln 2 ≈ 1.443 T, the average time an individual atom survives before decaying. Both forms give identical answers.

To find the time it takes to fall to a given fraction, turn it round: t = T × log2(N0 / N). Falling to 10% always takes 3.32 half-lives, and to 1% takes 6.64.

Why decay halves at a steady rate

Each radioactive nucleus has a fixed chance of decaying in any given second, no matter how long it has already existed and what its neighbours do. So in each second the same fraction of the remaining nuclei decays. A big pile loses many atoms per second and a small pile only a few, but both lose the same proportion. That produces exponential decay, and a half-life that never changes. You cannot predict when one particular atom will go, only how a large crowd of them behaves, much like the marbles in Drop a Thousand Marbles, which are unpredictable one at a time and regular in bulk.

The same maths applies to many other things that disappear in proportion to how much is there: medicines being cleared by the liver and kidneys, the gap between a hot drink’s temperature and the room’s as it cools, or the light fading through deep water.

Some real half-lives

SubstanceHalf-lifeWhere it matters
Fluorine-18109.8 minutesPET hospital scans
Technetium-99m6.01 hoursThe most used medical tracer
Caffeine (adults)about 3 to 7 hoursCoffee and sleep
Radon-2223.82 daysNatural radon gas in homes
Iodine-1318.02 daysThyroid treatment, nuclear accidents
Caesium-13730.1 yearsChernobyl and Fukushima fallout
Carbon-145,730 yearsRadiocarbon dating
Plutonium-23924,110 yearsNuclear waste
Uranium-2384.47 billion yearsDating the age of the Earth

Carbon dating

Living things keep taking in carbon, including a tiny, steady share of radioactive carbon-14 made in the upper atmosphere. When they die the intake stops and the carbon-14 starts to halve every 5,730 years. Measure how much is left compared with a living sample and you can work out the age: 25% remaining means two half-lives, about 11,460 years. The method works back to around 50,000 years, after which too little is left to measure. Because the amount of carbon-14 in the air has varied over time, radiocarbon ages are corrected with calibration curves built from tree rings, including those of ancient bristlecone pines like the one in The Tree That Saw Everything.

Everyday uses

Assumptions

Worked example

You drink a large coffee with 200 mg of caffeine at 8 am. Caffeine’s half-life in a typical healthy adult is about 5 hours. How much is still in your body at 11 pm, 15 hours later?

Starting amount200 mg
Half-life5 hours
Time passed15 hours
Amount left25 mg
Fraction left12.5 %
Amount decayed or removed175 mg
Number of half-lives3 half-lives
Mean lifetime (half-life ÷ ln 2)7.213 hours

Three half-lives leave one eighth, 25 mg, still in your system at bedtime: nearly as much as a can of cola contains. Every 5 hours earlier you have the coffee halves what is left at night.

Frequently asked questions

What is the formula for half-life?
Amount left = starting amount × (½)^(time ÷ half-life). For 80 g with a half-life of 10 days, after 30 days: 80 × (½)³ = 10 g.
How do you calculate how many half-lives have passed?
Divide the time passed by the half-life. 17,190 years of carbon-14 decay is 17,190 / 5,730 = 3 half-lives, leaving one eighth (12.5%) of the original.
How long does it take for something to completely decay?
In theory never, because each half-life only removes half of what is left. In practice, after 10 half-lives less than 0.1% remains and after 20 less than one millionth.
What is the half-life of carbon-14?
About 5,730 years (the more recent measurement is 5,700 ± 30 years). That makes it useful for dating once-living material up to about 50,000 years old.
How long does caffeine stay in your body?
Caffeine’s half-life averages about 5 hours in healthy adults, but ranges from roughly 2 to 10 hours. After 200 mg at noon, about 50 mg is still there at 10 pm.
What is the difference between half-life and mean lifetime?
The mean lifetime is the average time a single atom survives, equal to the half-life divided by ln 2, or about 1.44 times the half-life. After one mean lifetime, 1/e ≈ 36.8% remains.

Sources

Related calculators

Play it