๐งช Half Life Calculator: Decay, Time and Half-Life
By Shihab Mia ยท Updated 2026-07-25
This calculator performs the general half-life math used in chemistry, physics and pharmacology classes. It is an educational tool, not medical, dosing or safety advice. Real drug elimination, radiation safety limits and dating of physical samples depend on individual and sample-specific factors that a simple exponential model cannot capture, so consult a qualified professional (pharmacist, physician, radiation safety officer or lab) for any real-world decision.
Tip: keep time and half-life in the same unit (both years, both hours, etc.). The amount unit is up to you.
Enter the known values to compute the unknown one.
Half-life is the time it takes for a quantity to fall to half of its starting value, and it stays the same no matter how much material you start with. This half life calculator uses the standard decay relationship N = N0 times 0.5 raised to the power (t divided by T), and it solves for whichever piece you are missing: the remaining amount, the elapsed time, or the half-life itself. Enter any two of the three known values plus the initial amount, and you instantly get the answer along with how many half-lives have passed and what percent of the original amount is left. The same math applies whether you are decaying a radioactive isotope, a drug dose in the bloodstream, or any other quantity that shrinks by a fixed proportion in equal time steps.
What is the Half Life Calculator?
Half-life describes any process where a quantity shrinks by a fixed fraction in equal time steps. After one half-life, half of the original amount remains. After two half-lives, a quarter remains. After three, an eighth. The defining feature is that the same proportion disappears in every equal interval, which is what makes the decay exponential rather than linear. This pattern shows up in radioactive isotopes, drug concentrations in the bloodstream, the discharge of a capacitor, and the cooling of an object toward room temperature.
The working formula is N = N0 times 0.5^(t/T), where N0 is the initial amount, N is the amount remaining after time t, and T is the half-life. The exponent t/T is simply the number of half-lives that have elapsed. If t/T equals 1 you have one half-life and N is half of N0; if t/T equals 3.5 you have three and a half half-lives and N is 0.5^3.5, or about 8.8 percent, of N0. Because the base is one half, every whole step in the exponent halves the amount again. The same equation rearranges to answer the reverse questions. To find the elapsed time from a known fraction remaining, use t = T times log base 2 of (N0/N). To find the half-life from a measured decay, use T = t divided by log base 2 of (N0/N). These forms come straight from taking a base-2 logarithm of the original equation, and they are exactly what this calculator applies when you switch the solve-for selector. The amount units cancel out, so only the ratio N0/N matters, not whether you measure in grams, milligrams, counts per minute, or percent.
Scientists and textbooks often write the same decay using a different base: N = N0 times e^(-k times t), where e is Euler's number and k is the decay constant. This is the same curve, just expressed with a natural exponential instead of a base-2 one, and it is the form used in most physics derivations because it falls straight out of the differential equation dN/dt = -kN. The two forms convert into each other through k = ln(2) / T, so a half-life of 10 years corresponds to a decay constant of about 0.0693 per year. The related mean lifetime, tau, equals 1/k and is always a bit longer than the half-life (tau = T / ln 2, about 1.44 times T). Mixing up half-life, decay constant and mean lifetime is one of the most common sources of wrong answers in homework and lab reports, because a source that reports the time constant or lambda is not reporting the half-life directly.
In radioactivity specifically, half-life connects to activity, the rate at which a sample emits decay events. Activity A equals the decay constant k times the number of remaining atoms N, measured in becquerels (one decay per second) or the older unit curies. Because both k and N change over time in opposite ways inside that product, activity itself also falls off with the same half-life T as the quantity of material, just measured in decays per second instead of grams or atoms. This is why a radiation source becomes measurably safer well before the material is gone: after 5 half-lives about 96.9 percent of the original activity has decayed away, and after 10 half-lives less than 0.1 percent remains, even though in principle a tiny amount of the isotope is always technically still present.
The same exponential decay model underlies pharmacokinetics, where it is called the elimination half-life of a drug: the time for its concentration in the blood to fall by half through metabolism and excretion. Clinicians use a well-known rule of thumb that a drug is essentially cleared from the body after about 5 half-lives, since 0.5^5 is roughly 3.1 percent of the starting dose (50%, 25%, 12.5%, 6.25%, 3.125% remaining after each successive half-life). That is also roughly how long it takes a repeated fixed dose to build up to its steady-state concentration. Not every substance follows this model, though: ethanol (alcohol) is metabolized at a roughly constant rate regardless of concentration, called zero-order kinetics, so it does not have a true half-life in the exponential sense, unlike caffeine or most prescription medications, which follow first-order kinetics and do decay half-life style.
Carbon-14 dating is one of the best-known real-world applications of this math outside a physics classroom. Living organisms maintain a roughly constant ratio of radioactive carbon-14 to stable carbon-12 while they are alive, because they keep exchanging carbon with the atmosphere. Once an organism dies, that exchange stops and the carbon-14 it contains decays away with a half-life of 5,730 years. By measuring how much carbon-14 remains relative to the expected starting ratio, scientists can solve the rearranged formula for elapsed time, t = T times log base 2 of (N0/N), to estimate how long ago the organism died. This method is reliable for dates up to roughly 50,000 years, after which the remaining carbon-14 becomes too little to measure accurately.
When to use it
- Working out how much of a radioactive sample is left after a given number of years for a physics or chemistry problem.
- Estimating how long a medication stays meaningfully active in the body based on its published elimination half-life.
- Finding an unknown half-life from a measured before-and-after amount and the time between the two readings.
- Checking carbon-14 dating style calculations, where the fraction of the original isotope reveals the age of a sample.
- Figuring out how many half-lives, and roughly how long, it takes a substance to reach a "negligible" or "safe" leftover level.
- Converting between a stated half-life and a decay constant or mean lifetime when a source uses a different convention.
How to use the Half Life Calculator
- Choose what to solve for: the remaining amount, the elapsed time, or the half-life.
- Enter the initial amount (N0) and the other two known values in the same time unit.
- Read the headline answer, which updates instantly as you type.
- Check the half-lives elapsed and percent remaining panels to sanity-check the result.
Formula & method
Worked examples
A 100 mg sample of carbon-14 (half-life 5730 years) decays for 11460 years. How much remains?
- Find the number of half-lives: t/T = 11460 / 5730 = 2.
- Apply the formula: N = 100 times 0.5^2 = 100 times 0.25.
- So N = 25 mg, which is 25 percent of the original.
Result: 25 mg remains (2 half-lives, 25 percent left).
A drug starts at 200 mg and only 50 mg is left after some time. Its half-life is 8 hours. How long has passed?
- Find the ratio N0/N = 200 / 50 = 4.
- Number of half-lives = log base 2 of 4 = 2.
- Elapsed time t = T times 2 = 8 hours times 2 = 16 hours.
Result: About 16 hours have passed (2 half-lives elapsed).
A lab sample dropped from 80 g to 10 g over 24 days. What is its half-life?
- Find the ratio N0/N = 80 / 10 = 8.
- Number of half-lives = log base 2 of 8 = 3.
- Half-life T = t divided by number of half-lives = 24 days / 3.
Result: The half-life is 8 days.
Fraction and percent remaining after each half-life
| Half-lives elapsed (t/T) | Fraction remaining | Percent remaining |
|---|---|---|
| 0 | 1 | 100% |
| 1 | 1/2 | 50% |
| 2 | 1/4 | 25% |
| 3 | 1/8 | 12.5% |
| 4 | 1/16 | 6.25% |
| 5 | 1/32 | 3.125% |
| 10 | 1/1024 | about 0.098% |
Half-life of some well-known isotopes
| Isotope | Half-life | Common use |
|---|---|---|
| Carbon-14 | 5730 years | Radiocarbon dating of organic material |
| Iodine-131 | 8.02 days | Thyroid imaging and treatment |
| Cobalt-60 | 5.27 years | Cancer radiotherapy and sterilisation |
| Uranium-238 | 4.47 billion years | Dating very old rocks |
| Technetium-99m | 6.01 hours | Medical diagnostic imaging |
Commonly cited elimination half-lives (approximate, varies by individual and dose)
| Substance | Typical half-life range | Note |
|---|---|---|
| Caffeine | about 3 to 7 hours in adults | Longer in pregnancy or with certain medications |
| Ibuprofen | about 2 to 4 hours | Short half-life, taken every 4 to 6 hours |
| Aspirin (low dose) | about 2 to 3 hours | Follows first-order elimination at typical doses |
| Melatonin | about 40 to 60 minutes | Very short, explains why timing of the dose matters |
| Alcohol (ethanol) | not a true half-life | Metabolized at a roughly constant rate (zero-order), not exponential decay |
Common mistakes to avoid
- Mixing time units between t and T. The elapsed time and the half-life must use the same unit, because only the ratio t/T matters. If the half-life is in days, the elapsed time must also be in days. Plugging in 16 hours against an 8-day half-life gives a wildly wrong answer.
- Confusing half-life with the decay constant or mean lifetime. The half-life T, the decay constant k, and the mean lifetime tau are three different numbers describing the same decay, linked by k = ln(2)/T and tau = 1/k. If a problem gives you k or tau instead of T, convert it first, or your answer will be off by a factor of about 0.693 or 1.44.
- Treating decay as linear. Decay does not subtract a fixed amount each step; it multiplies by one half each half-life. After two half-lives you have a quarter left, not zero. Assuming the quantity reaches exactly zero after a fixed small number of half-lives is a frequent error; technically it only approaches zero.
- Entering a remaining amount larger than the initial. In a decay process the remaining amount N can never exceed the initial amount N0. If N is bigger than N0 the formula has no valid solution, so double-check that you have not swapped the two values.
- Assuming every substance decays exponentially. Not all elimination follows a half-life pattern. Alcohol (ethanol) is broken down by the liver at a roughly fixed amount per hour (zero-order kinetics) rather than a fixed percentage, so it does not have a true half-life the way caffeine or a radioactive isotope does. Applying this calculator to a zero-order process will give a misleading answer.
- Using a single half-life as a hard safety cutoff. A half-life tells you when half the material or drug is gone, not when it is gone entirely. Radiation and drug safety guidance is generally based on the accepted rule that about 5 half-lives (roughly 97 percent decayed) are needed before a quantity is considered negligible, not just one.
Glossary
- Half-life (T)
- The time required for a quantity to decay to half of its current value. It is constant for a given decay process regardless of the starting amount.
- Initial amount (N0)
- The starting quantity before any decay has taken place, measured at time t = 0.
- Remaining amount (N)
- The quantity left after a time t has elapsed, given by N = N0 times 0.5^(t/T).
- Exponential decay
- A process where a quantity decreases by the same proportion in each equal time interval, producing a curve that flattens toward zero but mathematically never reaches it.
- Decay constant (k)
- The rate parameter of decay in the natural-exponential form N = N0 e^(-kt), equal to ln(2) divided by the half-life. It sets how fast the quantity falls.
- Mean lifetime (tau)
- The average time a single particle or molecule survives before decaying, equal to 1/k, which is about 1.44 times longer than the half-life.
- Activity (A)
- In radioactivity, the rate of decay events per second, measured in becquerels or curies. Activity falls off with the same half-life as the quantity of material.
- Number of half-lives
- The value t/T, telling you how many halving steps have occurred. A value of 3 means the amount has halved three times.
Frequently asked questions
What is the half-life formula?
The half-life formula is N = N0 times 0.5^(t/T), where N0 is the initial amount, N is the remaining amount, t is the elapsed time and T is the half-life. The exponent t/T is the number of half-lives that have passed. The same equation rearranges to t = T times log base 2 of (N0/N) when you need the time.
How do I calculate the remaining amount after a number of half-lives?
Multiply the initial amount by 0.5 raised to the number of half-lives. After 1 half-life you have half left, after 2 a quarter, after 3 an eighth. For 2.5 half-lives you would compute N0 times 0.5^2.5, which is about 17.7 percent of the original.
How do I find an unknown half-life?
Use T = t divided by log base 2 of (N0/N). Take the initial amount and the remaining amount to get the ratio N0/N, take the base-2 logarithm to get the number of half-lives, then divide the elapsed time by that number. This calculator does it automatically when you set it to solve for half-life.
Is half-life the same as the decay constant?
No. They describe the same decay but are different numbers. The decay constant k equals ln(2) divided by the half-life T, about 0.693/T. If your source gives a decay constant or a mean lifetime instead, convert it to a half-life before using this calculator, otherwise your answer will be off.
Does the unit of the amount matter?
No. Only the ratio N0/N affects the time and half-life calculations, so grams, milligrams, counts per minute, or percent all work as long as you are consistent. The remaining-amount mode returns its answer in whatever unit you used for the initial amount.
Can half-life calculations apply outside radioactivity?
Yes. Any process with constant proportional decay follows the same math, including drug elimination in the body, a discharging capacitor, and a cooling object approaching room temperature. Wherever a quantity loses the same fraction in equal time steps, the half-life formula applies.
How many half-lives until something is essentially gone?
By 5 half-lives, about 96.9 percent of the original quantity has decayed, leaving roughly 3.1 percent. By 10 half-lives, less than 0.1 percent remains. This "5 half-lives" rule of thumb is commonly used in both radiation safety and drug dosing to describe when a quantity is considered negligible, since the math never reaches exactly zero.
How is half-life used in carbon dating?
Carbon-14 decays with a half-life of 5,730 years, and living things maintain a roughly constant carbon-14 to carbon-12 ratio until they die. By measuring how much carbon-14 remains in a sample and solving t = T times log base 2 of (N0/N), scientists estimate how long ago the organism died, typically for ages up to about 50,000 years.
What is the difference between half-life and mean lifetime?
Half-life is the time for half of a quantity to decay, while mean lifetime (tau) is the average time a single particle survives before decaying. Mean lifetime is always longer than half-life, related by tau = T / ln(2), roughly 1.44 times the half-life.
Does alcohol have a half-life?
Not in the true exponential sense. Alcohol (ethanol) is broken down by the liver at a roughly fixed amount per hour regardless of concentration, called zero-order kinetics, rather than losing a fixed percentage per unit time. Caffeine and most medications, by contrast, do follow first-order kinetics and have a real half-life.
Sources
- Half-life and radiometric dating , OpenStax Physics (2024)
- Elimination Half-Life of Drugs , StatPearls, National Center for Biotechnology Information (NCBI) (2023)