Learn more
Use the exponential decay formula to work out how much of a substance is left after a given time, how much you started with, how long decay took, or the half-life itself — for radioactive isotopes, medicines, caffeine and more.
What is half-life?
The half-life of a substance is the time it takes for half of it to disappear through decay. Radioactive isotopes decay this way, and so do many medicines and other chemicals as the body breaks them down. The striking thing about half-life is that it stays constant: whether you start with a ton or a gram, it takes the same time to lose half. After one half-life 50% remains, after two 25%, after three 12.5%, and so on — an exponential decay that never quite reaches zero.
The half-life formula
Here N₀ is the starting amount, N is the amount left, t is the time elapsed and T is the half-life. The ratio t/T is simply the number of half-lives that have passed. Rearranging gives the other three forms the calculator uses:
- Initial amount: N₀ = N × 2t/T
- Time elapsed: t = T × ln(N₀/N) ÷ ln 2
- Half-life: T = t × ln 2 ÷ ln(N₀/N)
Scientists often write the same law as N = N₀e−λt, where λ = ln 2 ÷ T ≈ 0.693/T is the decay constant. The mean lifetime, τ = T/ln 2 ≈ 1.443 T, is the average time a single atom survives.
How to use the calculator
- Pick what you want to solve for: amount remaining, initial amount, time elapsed or half-life.
- Fill in the other three values. Amounts can be in any unit — grams, milligrams, number of atoms or percent — as long as both amounts use the same one.
- Choose the time unit. Time and half-life must be in the same unit; convert first if your half-life is in years and your time is in days.
The results show the answer, the percentage left, the number of half-lives, the decay constant and a table of the amount after each of the first ten half-lives, plus a decay curve.
Worked example: carbon-14
Carbon-14 has a half-life of about 5,730 years. Using the default values, a sample that started with 100 g of carbon-14 has 10,000 years to decay. That is 10,000 ÷ 5,730 = 1.7452 half-lives, so the fraction left is (1/2)1.7452 = 0.2983, and N ≈ 29.83 g remain — about 29.83% of the original.
Radiocarbon dating runs this in reverse. If a piece of charcoal has 25% of the carbon-14 found in living wood, choose Time elapsed with N₀ = 100 and N = 25: log₂(4) = 2 half-lives, so the charcoal is about 11,460 years old. Labs report "conventional" radiocarbon ages using the older Libby half-life of 5,568 years and then calibrate them, so a published age may differ slightly from this simple calculation.
Worked example: caffeine
In healthy adults caffeine has an average half-life of roughly 5 hours, but it varies a lot — from about 1.5 to 9.5 hours depending on genetics, pregnancy, smoking, liver health and some medicines. Suppose you drink a coffee with 200 mg of caffeine. Set the unit to hours, T = 5 and t = 8: (1/2)1.6 = 0.3299, so about 66 mg is still in your system eight hours later. That is why an afternoon coffee can still affect sleep at bedtime. These are rough estimates, not medical advice — a doctor or pharmacist can advise on medicines and caffeine limits for you.
Common half-lives
| Substance | Approximate half-life |
|---|---|
| Carbon-14 | 5,730 years |
| Uranium-238 | 4.47 billion years |
| Plutonium-239 | 24,100 years |
| Cesium-137 | 30.1 years |
| Iodine-131 | 8.02 days |
| Technetium-99m (medical imaging) | 6.01 hours |
| Caffeine (in adults) | about 5 hours, varies widely |
Common mistakes
- Mixing time units, such as a half-life in days and a time in hours.
- Subtracting half each step from the original (100 → 50 → 0) instead of halving what remains (100 → 50 → 25).
- Using a remaining amount larger than the start — decay only goes down. For growth such as interest, use the compound interest calculator; for powers and roots, the exponent calculator and logarithm calculator help.
Sources: half-life values from the U.S. Nuclear Regulatory Commission and the National Nuclear Data Center (Brookhaven National Laboratory); radiocarbon conventions from the journal Radiocarbon (Stuiver & Polach, 1977); caffeine pharmacology from the NIH National Library of Medicine (StatPearls, "Caffeine").
Cite or link to this page
Using this half-life calculator in an article, report or homework? Copy a citation or a ready-made link:
Calcivia. (2026). Half-Life Calculator. Retrieved November 11, 2026, from https://www.calcivia.com/half-life-calculator/"Half-Life Calculator." Calcivia, 2026, https://www.calcivia.com/half-life-calculator/. Accessed 11 Nov. 2026.<a href="https://www.calcivia.com/half-life-calculator/">Half-Life Calculator</a> by Calcivia