Half-Life Calculator

A half-life is the time it takes for half of whatever is present to disappear, and it is the same length of time no matter how much you start with. That single fact gives N(t) = N0 x (1/2)^(t/T), which ties four quantities together: the starting amount, what is left, how long has passed, and the half-life itself. Give any three and this returns the fourth, along with the decay constant lambda = ln2 / T, the mean lifetime 1 / lambda, and the number of half-lives elapsed — the figures that turn a number into an explanation. It is not only a physics tool: the same first-order law governs how a drug leaves the bloodstream and how radiocarbon dating puts an age on a bone.

  • Accurate
  • Real-time
  • Easy to use
  • 100% free

Remaining after 10 hours

25

Remaining amount

25

Details

Updates as you type

Exponential decay ties four quantities together. Give any three and this returns the fourth.

0.1125.1250.1375500+

How much you started with, in any unit you like — mg, grams, atoms, becquerels, percent. Only the ratio to the remaining amount matters.

0.125.150.175100+

How much is left, in the same unit. It can never exceed the initial amount, and it never reaches zero in finite time.

Labels only. The elapsed time and the half-life must be in the same unit, and the answer comes back in it.

0.112.625.137.550+

How long the decay has been running, in the unit chosen above.

0.15.1101520+

How long it takes for half of whatever is present to disappear — a constant, independent of how much you started with.

Summary

Amount remaining

25

Initial amount

100

Still presentDecayed away
  • Still present2525%
  • Decayed away7575%
Initial amount
100
Remaining amount
25
Amount decayed
75
Fraction remaining
25%
Half-lives elapsed
2
Half-life
5 hours
Decay constant lambda = ln 2 / T
0.13862944 per hour
Mean lifetime 1 / lambda
7.2135 hours
Time until 96.875% has gone (5 half-lives)
25 hours
Check: lambda x half-life = ln 2
0.69314718
  • Exactly 2 half-lives have elapsed, so the surviving fraction is the exact fraction 1/4 — halving 2 times over.
  • The half-life does not depend on how much you started with. Doubling the initial amount doubles what is left at every moment, but changes neither the half-life nor the fraction remaining.
  • After 5 half-lives 96.875% has gone and after 7 half-lives 99.2% has, which is where the clinical rule of thumb that a drug is effectively cleared in about five half-lives comes from.
How this is calculated
Initial amount N0
100
Half-life T
5 hours
Elapsed time t
10 hours

Half-lives elapsed: t / T
10 / 5 = 2
Surviving fraction: one half to that power
(1/2)^2 = 0.25
Remaining: N = N0 x (1/2)^(t/T)
100 x 0.25 = 25

Decay constant: lambda = ln 2 / T
0.6931471806 / 5 = 0.1386294361
Mean lifetime: 1 / lambda = T / ln 2
5 / 0.6931471806 = 7.213475204

Check by running the decay forwards again
100 x (1/2)^(10 / 5) = 25
Decay over timeStill presentDecayed away
02653791050510152025

Hours

Compare scenarios

See how one change moves the result

  • CurrentYour inputs as they stand25Current
  • Initial amount (N0)12531.25
  • Elapsed time (t)12.517.6777

Frequently asked questions

What is the half-life formula?

N(t) = N0 x (1/2)^(t/T), where N0 is what you started with, T is the half-life and t is the elapsed time. The exponent t/T is simply the number of half-lives that have gone by, so after 1 half-life the fraction left is 1/2, after 2 it is 1/4, and after n it is 1 over 2 to the n. Rearranging that one identity gives the other three directions: t = T x log2(N0/N) for elapsed time, T = t x ln2 / ln(N0/N) for the half-life, and N0 = N x 2^(t/T) for the starting amount. This page shows whichever rearrangement it used in the worked steps.

What are the decay constant and the mean lifetime?

They are the same decay described two other ways. Written in base e the law is N(t) = N0 x e^(-lambda x t), and the decay constant lambda is the instantaneous fraction lost per unit time. It relates to the half-life by lambda = ln2 / T, so lambda x T is always ln 2, about 0.693147 — this page prints that product as a check. The mean lifetime, tau = 1 / lambda = T / ln2, is the average time an individual atom or molecule survives. It is longer than the half-life, about 1.4427 times it, because the few very long-lived survivors pull the average up past the midpoint.

Why can the remaining amount never be zero?

Because decay is multiplicative, not subtractive. Each half-life removes half of what is left rather than a fixed quantity, so the amount approaches zero without ever arriving: after 10 half-lives about 0.098% remains, after 50 about 8.9 x 10^-14 percent, and there is always something. That is why asking this calculator for the time to reach zero is refused rather than answered with infinity, and why a remaining amount of zero is rejected against the field rather than silently accepted. In practice the material runs out when the last individual atom decays, which is a random event the smooth exponential only describes on average.

Why is a drug said to be cleared after about five half-lives?

Because five halvings leave 1/32 of the dose, so 96.875% has gone — usually rounded to "about 97%". Seven half-lives leave 1/128, or 99.2%. Neither is a special number in the maths; the rule of thumb just marks the point where what is left is small enough to stop mattering clinically. Caffeine is the everyday example: the US FDA puts its half-life at roughly 4 to 6 hours in healthy adults, so a 100 mg cup at noon is down to about 25 mg by 10 hours later and roughly 3 mg the following morning — which is the arithmetic behind the advice not to drink coffee late.

How does carbon dating use a half-life?

Living things take up carbon-14 from the atmosphere at a roughly steady rate, and stop when they die. From that moment the carbon-14 decays with a half-life of 5,730 plus or minus 40 years — the "Cambridge half-life", re-measured by H. Godwin and published in Nature in 1962 and adopted at the Cambridge radiocarbon conference that year. Measuring what fraction is left and solving for elapsed time gives the age: half remaining is about 5,730 years, a quarter about 11,460. Radiocarbon laboratories still quote conventional ages using Libby original 5,568-year figure, so that decades of published dates stay comparable, then calibrate; set the time unit to years and enter your own half-life to see either convention.

Does the half-life depend on how much you start with?

No, and that is what makes it useful. Because each interval removes a constant fraction rather than a constant quantity, the time to halve is the same whether you have a kilogram or a microgram — this is what "first-order" means. Doubling the initial amount doubles what is left at every instant but leaves the half-life, the decay constant and the fraction remaining untouched. It also means the answer does not care what unit the amounts are in, as long as both are in the same one: milligrams, atoms, becquerels or percent all give the same half-life.

Why do some calculators report three half-lives as 2.9999999999999996?

Because the number of half-lives is a division, t/T, and neither decimal survives binary floating point exactly. A half-life of 0.1 with 0.3 elapsed gives 2.9999999999999996 in almost every programming language, and raising one half to that power then yields 12.500000000000004 rather than 12.5. The same thing happens computing a logarithm by change of base, where two inexact logarithms are divided. This calculator rounds such a value to the whole number only after checking it: it multiplies the whole number back by the half-life and keeps the tidy answer only if the elapsed time you entered reappears. A figure that is merely near a whole number, like 2.9 half-lives, is left exactly where the arithmetic put it.

You might also like