HomeAll CategoriesHalf Life Calculator with Steps | Decay, Drug & C-14

Half Life Calculator with Steps | Decay, Drug & C-14

Half Life Calculator

Find the amount remaining, the initial amount, the elapsed time or the half-life in any units, with every step, a decay graph and a units check. Fit a half-life from your own measured counts, model repeated drug or caffeine doses, and solve zero, first and second order reactions.

PhysicsRadioactive DecayChemistryDrug Half-LifeStep by StepAny UnitsFree

⚡ 0. Quick Answer

A half life calculator uses N = N0 × (½)t/T½: every half-life, half of what is left decays. Worked example: 100 g of carbon-14 (T½ = 5730 years) after 2000 years leaves 100 × 0.50.349 = 78.5 g.

N = N0 (½)t / T½   ·   λ = ln 2 / T½   ·   N, N0 [g, Bq or nuclei], t and T½ [same time unit]

Rule of thumb: after 1, 2, 3, 4 and 5 half-lives you have 50 %, 25 %, 12.5 %, 6.25 % and 3.1 % left. About 7 half-lives (under 1 %) is often treated as "gone", and about 5 half-lives clears a drug from the body.

Key Takeaways

  • A half life calculator solves N = N0(½)t/T½ for any one unknown; 100 g of carbon-14 falls to 78.5 g in 2000 years.
  • The decay constant is λ = ln 2 / T½, so carbon-14 has λ = 1.21 × 10−4 per year.
  • To find a half-life from two readings use T½ = t ln 2 / ln(N0/N): 80 mg to 10 mg in 24 days gives 8.00 days.
  • Time and half-life must be in the same unit: 48 hours of iodine-131 (T½ = 8.02 d) leaves 84.1 %, not 1.6 %.
  • A drug or caffeine is mostly cleared after about 5 half-lives (97 %); a 5 h caffeine half-life means about 25 h.

📚 1. What Is a Half Life Calculator?

Half-life (T½) is the time it takes for half of a decaying quantity to disappear. It is used for radioactive isotopes, for medicines in the blood, for caffeine, and for chemical reactions. A half life calculator takes any three of the four values N0 (starting amount), N (amount left), t (time passed) and T½ (half-life) and finds the fourth.

One-line example: iodine-131 has a half-life of 8.02 days. After 24.06 days (3 half-lives), 100 mg has become 100 ÷ 2 ÷ 2 ÷ 2 = 12.5 mg.

The idea came from Ernest Rutherford and Frederick Soddy, who showed between 1902 and 1903 that radioactive substances change into new elements at a rate set by a fixed half-life (Rutherford & Soddy, 1902, 1903). Willard Libby used the same law for radiocarbon dating in 1949 (Libby et al., 1949). Today the same equation is taught in CBSE and ICSE Class 12, IGCSE and GCSE Physics, A level, AP Physics 2 and AP Chemistry, NEET and JEE, and first-year pharmacology. It is used every day by nuclear medicine staff, archaeologists, geologists, pharmacists and radiation safety officers.

QuantitySymbol and SI unitHow it links to T½Use it when
Half-lifeT½, seconds (s)The basic valueYou think in "halvings": 50 %, 25 %, 12.5 %
Decay constantλ, s−1λ = ln 2 / T½ = 0.693 / T½You need activity A = λN or the exponential form e−λt
Mean lifetimeτ, sτ = 1/λ = 1.443 T½Particle physics and average survival time
ActivityA, becquerel (Bq = s−1)A = λN, falls with the same T½You measure with a Geiger counter or dose calibrator
Doubling timeTd, sThe same maths with growth instead of decayBacteria, money, populations (not decay)
Half-life decay curve of carbon-14 with half-life marks02142638410505,73011,46017,19022,92028,650Time (years)Carbon-14 left (%)78.5 % at 2000 y
Each half-life (5730 years for carbon-14) halves what is left: 100 %, 50 %, 25 %, 12.5 %. The purple point is the worked example, 78.5 % left after 2000 years.

🧮 2. Enter Your Values

Samples fill the boxes only. Nothing is calculated until you press Calculate.
Fills the half-life. Values are rounded; see Table 12.1.

Solve for:

Scientific notation works: type 6.2e-3 or 6.2×10^-3. Units: N and N₀ must be the same kind (mass, activity, nuclei, %, concentration or count rate). One year = 365.25 days. Solving for N accepts a comma-separated list of times, for example 2000, 5730, 11460.

Each group is one run, sample or class. Group names are editable.
📁 Upload CSV or Excel, then click the columns to load as groups

For learning only. This shows how half-life makes repeated doses build up. It is not medical advice and must not be used to choose or change a dose.
M/s, s⁻¹ or M⁻¹s⁻¹
time unit

The time unit applies to k and to t½. Zero order k is in mol L⁻¹ per time unit, second order k in L mol⁻¹ per time unit.

📊 3. Results and Step-by-Step Working

___
Enter your values and press Calculate to see the answer, its units and every step.

🧠 4. Understanding Your Answer, In Detail

4.1 What your number means

___

4.2 Is it a sensible size?

___

4.3 Decay constant, mean life and activity

___

4.4 How the answer scales

___

4.5 The limits of this answer

___

4.6 What the four graphs show

Chart 1 is the decay curve: steep at first, then flatter, because the rate of decay is proportional to the amount present. Chart 2 turns that curve into a straight line by plotting ln N. Its slope is −λ, which is why scientists fit half-lives on a log scale. Chart 3 shows the fixed halving pattern. Chart 4 shows that what decays does not vanish: it becomes the daughter product, and the two curves cross at exactly one half-life.

4.7 Why half-life does not depend on the amount

Each nucleus has the same small chance of decaying in each second, no matter how many neighbours it has. So 1 g and 1 kg of the same isotope lose the same fraction per half-life. This is what "first order" means, and it is why a half-life is a property of the isotope, not of the sample (Prather, 2005).

4.8 Where this leads next

For real data, use the Fit From Data tab: it finds the half-life and a confidence interval from your counts. For medicines and caffeine, the Repeated Doses tab shows build-up to steady state. For chemistry, the Reaction Order tab covers zero, first and second order half-lives.

✍ 5. How to Write Your Results in Research and Exams

Each card fills in after you press Calculate. Copy the one that fits where the answer is going.

Exam answer (GRESS layout)
___
Conventions

Write Given, Required, Equation, Substitute and Solve on separate lines. Keep t and T½ in the same unit, carry full precision, and round the final answer to the smallest number of significant figures in the data. Box the final answer with its unit.

Final answer only
___
Lab report or research methods sentence
___
Conventions

Name the model (first-order decay), state the half-life value and its source (for example NUBASE2020, Kondev et al., 2021), give the uncertainty for fitted values (standard error or a 95 % confidence interval), and say whether background was subtracted. For radiocarbon, report conventional ages with the Libby half-life of 5568 years as set out by Stuiver and Polach (1977), then calibrate with IntCal20 (Reimer et al., 2020).

Teacher's answer-key line
___
Plain text for a forum or chat
___
Conventions

Write powers as 0.5^(t/T1/2) and scientific notation as 1.21e-4 so it pastes into any app without losing formatting.

5.1 A model results paragraph

"The count rate of the protactinium-234m source, corrected for a background of 2 counts per 10 s, fell exponentially with time (R² = 0.98 on a log scale). Least-squares regression of ln(counts) on time gave λ = 0.0105 s−1, so T½ = 66 s (95 % CI 62 to 71 s), close to the accepted value of about 70 s." Replace the numbers with your own from the Fit From Data tab.

∑ 6. Formulas Used

①
The Half-Life Equation
N = N0 × (½)t / T½ = N0 e−λt
NAmount left: mass (kg or g), activity (Bq), number of nuclei, or %
N0Starting amount, in the same unit as N
tTime elapsed, seconds (s) or any time unit
T½Half-life, in the same time unit as t
Example100 g × 0.52000/5730 = 78.5 g of carbon-14
②
Rearranged for Each Unknown
N0 = N × 2t/T½  ·  t = T½ × ln(N0/N) / ln 2  ·  T½ = t × ln 2 / ln(N0/N)
lnNatural logarithm (base e). log10 also works if used top and bottom
RequiresN smaller than N0 to find t or T½; otherwise no decay happened
ExampleT½ = 24 d × 0.6931 / ln(80/10) = 8.00 d
③
Decay Constant and Mean Lifetime
λ = ln 2 / T½ = 0.693147 / T½  ·  τ = 1/λ = 1.4427 T½
λDecay constant, per second (s−1) or per year (y−1)
τMean lifetime, seconds (s)
ExampleCarbon-14: λ = 0.693147 / 5730 y = 1.21 × 10−4 y−1 = 3.83 × 10−12 s−1
④
Activity and Number of Nuclei
A = λN  ·  N = (m / M) × NA  ·  1 Ci = 3.7 × 1010 Bq
AActivity, becquerel (Bq = decays per second)
m, MMass (g) and molar mass (g/mol)
Ruleλ must be in s−1 to get A in Bq
⑤
Fitting a Half-Life to Measured Data
ln(N − B) = ln N0 − λt  →  slope = −λ,  T½ = ln 2 / (−slope)
BBackground count rate, same unit as N
SEStandard error of the slope; 95 % CI for λ = λ ± t0.975, n−2 × SE
NoteWeighting by counts (w = N) suits Poisson counting noise (Tellinghuisen, 1993)
⑥
Repeated Doses and Reaction Order
An = D(1 − rn)/(1 − r), r = (½)τ/T½  ·  t½ = [A]0/2k, ln 2/k, 1/(k[A]0)
D, τDose (mg) and dosing interval (h)
kRate constant: mol L−1 s−1 (zero), s−1 (first), L mol−1 s−1 (second)
RuleSteady state is about 97 % reached after 5 half-lives
⑦
Constants Used
NA = 6.022 140 76 × 1023 mol−1 (exact)  ·  ln 2 = 0.693 147 18
NAAvogadro constant, CODATA 2022, exact since the 2019 SI (Mohr et al., 2025)
1 yJulian year, 365.25 d = 31 557 600 s (exact)
1 Ci3.7 × 1010 Bq (exact by definition)

🔀 7. Half-Life Calculation Flowchart, Step by Step

This flowchart shows how to use the half-life formula step by step, on the same worked problem used in Sections 0, 9, 10, 11 and 14: 100 g of carbon-14, half-life 5730 years. How much is left after 2000 years?

Start or result Data step Calculation step Yes or no check
Start100 g of carbon-14, find N after 2000 yearsN₀ = 100 g, t = 2000 y, T½ = 5730 y
1
List the values with unitsN₀ = 100 g, t = 2000 y, T½ = 5730 y, N = ?
CheckAre t and T½ in the same unit?
YesBoth in years, carry on.
No, stopConvert one of them first (24 h = 1 d, 1 y = 365.25 d).
2
Count the half-livesn = t / T½2000 y ÷ 5730 y = 0.34904 (no unit)
3
Work out the fraction left(½)n0.50.34904 = 0.78511
4
Multiply by the starting amountN = N₀ × (½)n100 g × 0.78511 = 78.511 g
CheckIs N between 50 % and 100 % of N₀ (fewer than 1 half-life)?
Yes78.5 % fits n = 0.349.
No, stopRecheck the units or the exponent sign.
5
Find the decay constantλ = ln 2 / T½0.693147 ÷ 5730 y = 1.2097 × 10−4 y−1
6
Substitute back to verifyN₀ e−λt100 × e−0.24194 = 78.511 g ✓
ResultN = 78.5 g (3 significant figures)Units check ✓ Verified21.5 g has decayed to nitrogen-14.

Check any box yourself: the Excel sheet in Section 9, the R script in Section 10, the Python script in Section 11 and the hand method in Section 14 all give 78.5 g for this problem.

📝 8. How to Use This Calculator

  1. Choose a tab. Pick Half-Life Solver for a textbook problem, Fit From Data for measured counts, Repeated Doses for medicines or caffeine, or Reaction Order for chemistry.
  2. Choose what to solve for. In the solver, tick Amount left N, Initial amount N0, Time elapsed t or Half-life. That box turns into a dashed question mark.
  3. Type the known values. Enter numbers only, such as 100, 2.5e3 or 6.2x10^-3. Put units in the drop-down menus, not in the boxes.
  4. Pick the units. Choose mass, activity, nuclei, percent or concentration for the amounts, and any time unit for t and the half-life. They can differ; the tool converts them.
  5. Use an isotope preset if you like. The isotope menu fills in a rounded half-life for carbon-14, iodine-131, uranium-238 and 17 others.
  6. Add a list of times if needed. When solving for N, type several times separated by commas, such as 2000, 5730, 11460, to get a table of amounts.
  7. Enter measured data for a fit. In Fit From Data, type the times once, then one comma-separated list of readings per group. Rename groups, add groups, or upload a CSV and click the columns to load.
  8. Press Calculate. Nothing is calculated until you press Calculate or Enter. The answer appears with its unit, a units check and a verification badge.
  9. Read the steps and the graphs. Follow the GRESS working and the numbered steps, then check the four graphs and the 100-nuclei picture.
  10. Copy or download the working. Copy a ready-made exam, report or forum answer from Section 5, or press Download Doc or Download PDF for the full working.

📈 9. How to Calculate Half-Life in Excel

Excel has no HALFLIFE function, but the half-life equation is a single formula. This section solves the worked problem (100 g of carbon-14, 2000 years), rearranges it for the other unknowns, and fits a half-life to measured counts with LINEST. Every screenshot shows the real numbers.

The whole thing in one cell: with N₀ in B2, t in C2 and T½ in D2 (same time unit), type =B2*0.5^(C2/D2). For the worked problem it returns 78.51 g.

9.1 The functions you need

You wantExcel formulaNote
Amount left N=B2*0.5^(C2/D2)Or =B2*EXP(-LN(2)*C2/D2); same answer
Initial amount N₀=B3*2^(C3/D3)B3 holds N here
Time elapsed t=D4*LN(B4/E4)/LN(2)B4 = N₀, E4 = N
Half-life T½=C5*LN(2)/LN(B5/E5)Needs N smaller than N₀
Decay constant λ=LN(2)/D2Per the time unit of D2
Half-life from data=LN(2)/-SLOPE(LN(B2:B20),A2:A20)Counts in B, times in A
Slope and its standard error=LINEST(LN(B2:B20),A2:A20,TRUE,TRUE)Row 2 of the output holds the standard errors
t value for a 95 % CI=T.INV.2T(0.05,COUNT(A2:A20)-2)Degrees of freedom n − 2

9.2 Step by step

1 Put each problem in one row, with units in the headers

Use column headers such as "N0 (g)", "t (y)" and "T1/2 (y)". One row per problem makes it easy to solve a whole class worksheet at once.

Excel sheet: 100XBook1 - Excelfx100ABCD1ProblemN0 (g)t (y)T1/2 (y)2C-14 worked100200057303C-14 age1001146057304I-131 (mg, d)10024.068.02

Row 2 holds the worked problem: 100 g, 2000 y, 5730 y.

2 Type the half-life formula and fill it down

=B2*0.5^(C2/D2)

Excel calculates the power before the multiplication, so no extra brackets are needed around 0.5^(C2/D2).

Excel sheet: =B2*0.5^(C2/D2)XBook1 - Excelfx=B2*0.5^(C2/D2)ABCDE1ProblemN0 (g)t (y)T1/2 (y)N (g)2C-14 worked1002000573078.513C-14 age10011460573025.004I-131 (mg, d)10024.068.0212.50

E2 shows 78.51 g; the other rows give 25.00 g after 11 460 y and 12.50 mg of iodine-131 after 24.06 d.

3 Add the number of half-lives, the percent left and λ

=C2/D2=E2/B2=LN(2)/D2
Excel sheet: =LN(2)/D2XBook1 - Excelfx=LN(2)/D2ABCD1n (half-lives)% leftlambda (1/y)tau (y)20.34978.5%1.21E-048266.632.00025.0%1.21E-048266.643.00012.5%0.086411.57

n = 0.349, fraction left 78.5 %, λ = 1.21E-04 per year. Format the λ column as Scientific.

4 Fit a half-life to measured counts

Put time in column A and corrected counts (count minus background) in column B. Then find the slope of ln(count) against time.

C2: =SLOPE(LN(B2:B20),A2:A20)D2: =LN(2)/-C2
Excel sheet: =LN(2)/-C2XBook1 - Excelfx=LN(2)/-C2ABCD1Time (s)Count - bgSlopeT1/2 (s)20514-0.0104866.123104824204225303806......

For Run A of the protactinium sample (background 2 already subtracted), the slope is −0.01048 s−1, so T½ = 66.12 s, the same as the Fit From Data tab.

9.3 The awkward cases

  • Mixed time units. Excel does not know that one cell is in hours and another in days. Convert first: =CONVERT(48,"hr","day") returns 2. Unit strings in CONVERT are case sensitive, and a wrong one returns #N/A.
  • Tiny or huge values. Use Format Cells, Scientific, so 3.83E-12 does not show as 0.00.
  • ln of a range. In Excel 365, LN(B2:B20) inside SLOPE works directly. In Excel 2016 or older, press Ctrl+Shift+Enter, or make a helper column =LN(B2).
  • Precision. Excel keeps about 15 significant digits, far more than any half-life data needs.

9.4 Why Excel might disagree with R or Python

SituationWhat happensFix
Different half-life for carbon-145730 y (textbooks), 5700 y (current evaluation), 5568 y (Libby, conventional radiocarbon ages)Use the same value everywhere and say which one
Year length365 d vs 365.25 d changes answers in the 4th significant figure when you convert years to secondsThis page and the scripts use 365.25 d
Rounding λ firstUsing λ = 1.2 × 10−4 instead of the full value gives 78.66 g, not 78.51 gKeep the full value in a cell
Weighted vs ordinary fitWeighted fits give slightly different half-lives (68.6 s vs 66.1 s for Run A)Excel LINEST and R lm are unweighted unless you add weights
Background not subtractedThe ln plot curves upward and the half-life comes out too longSubtract background before taking ln

9.5 Charting it

  1. Select the time and count columns. Choose Insert → Scatter (never the Line chart, which spaces x values evenly).
  2. Right-click the points, Add Trendline → Exponential, and tick Display Equation. The equation y = 538.2e−0.0105x shows λ directly.
  3. For a straight line, plot ln(count) against time and use a Linear trendline; the slope is −λ.
  4. Label the axes with units: "Time (s)" and "Count per 10 s".

9.6 Errors you will hit

Excel showsWhyFix
#NUM!LN of zero or a negative number (a count at or below background)Remove those rows or lower the background estimate
#DIV/0!N equals N₀, so LN(N₀/N) = 0 when solving for T½No decay happened; check the readings
#VALUE!Text such as "5730 y" in a number cellPut units in the header only
#N/AWrong unit string in CONVERT, for example "Hr" instead of "hr"Use the exact strings: "sec", "mn", "hr", "day", "yr"

📈 10. How to Calculate Half-Life in R

Copy the whole block into RStudio, Posit Cloud or a file run with Rscript halflife.R. It uses base R only. Change the four values at the top for your own problem.

10.1 The complete script

R, base only, saves halflife_plot.png at 300 dpi

# Half-life calculator in R (StatsUnlock)
# ---- Part A: solve the half-life equation ----
N0   <- 100      # initial amount, g
t    <- 2000     # elapsed time, years
Th   <- 5730     # half-life of carbon-14, years (same unit as t)
year <- 365.25 * 86400   # Julian year in seconds

n      <- t / Th                 # number of half-lives (no unit)
N      <- N0 * 0.5^n            # amount left, g
lambda <- log(2) / Th          # decay constant, per year (log() is ln)
tau    <- 1 / lambda             # mean lifetime, years

cat(sprintf("n = %.5f half-lives\n", n))
cat(sprintf("N = %.4f g  (%.1f %% left)\n", N, 100 * N / N0))
cat(sprintf("lambda = %.4e per year = %.4e per second\n", lambda, lambda / year))
cat(sprintf("tau = %.1f years\n", tau))

# check: substitute back with the exponential form
stopifnot(abs(N0 * exp(-lambda * t) - N) < 1e-9)

# the other rearrangements
t_for_25 <- Th * log(100 / 25) / log(2)     # age when 25 % is left: 11460 y
Th_I131  <- 24 * log(2) / log(80 / 10)     # 80 mg to 10 mg in 24 d: 8 d
cat(sprintf("t (25%% left) = %.0f y;  T1/2 (I-131) = %.2f d\n", t_for_25, Th_I131))

# ---- Part B: fit a half-life to measured counts ----
time   <- seq(0, 180, by = 10)        # s
counts <- c(516, 484, 424, 382, 334, 315, 308, 269, 253, 219,
            201, 179, 139, 156, 138, 125, 91, 81, 81)
bg     <- 2                              # background, counts per 10 s
fit    <- lm(log(counts - bg) ~ time)
lam    <- -coef(fit)[["time"]]
ci     <- confint(fit, "time", level = 0.95)
cat(sprintf("fitted T1/2 = %.2f s (95%% CI %.2f to %.2f s), R^2 = %.4f\n",
            log(2) / lam, log(2) / -ci[1], log(2) / -ci[2], summary(fit)$r.squared))

# ---- Figure: decay curve with half-life marks ----
png("halflife_plot.png", width = 2000, height = 1400, res = 300)
tt <- seq(0, 5 * Th, length.out = 300)
plot(tt, N0 * 0.5^(tt / Th), type = "l", lwd = 2.5, col = "#2563eb",
     xlab = "Time (years)", ylab = "Carbon-14 left (g)", main = "Half-life of carbon-14")
points((0:5) * Th, N0 * 0.5^(0:5), pch = 19, col = "#16a34a")
points(t, N, pch = 8, cex = 2, col = "#9333ea")
dev.off()

Printed output: n = 0.34904 half-lives, N = 78.5106 g (78.5 % left), lambda = 1.2097e-04 per year = 3.8332e-12 per second, tau = 8266.6 years, t (25% left) = 11460 y; T1/2 (I-131) = 8.00 d, fitted T1/2 = 66.12 s (95% CI 62.06 to 70.76 s), R^2 = 0.9839.

10.2 What each part does

LineWhat it does
N0 * 0.5^nThe half-life equation. ^ is the power operator in R.
log(2) / ThDecay constant. In R, log() is the natural log; log10() is base 10.
stopifnot(...)Substitutes the answer back into the exponential form, the same check as the Verified badge.
lm(log(counts - bg) ~ time)Straight-line fit of ln(corrected count) on time. The slope is −λ.
confint(fit, "time")95 % confidence limits of the slope, turned into half-life limits with ln 2 / −limit.
png(..., res = 300)Saves a 300 dpi figure ready for a report.

R traps: -2^2 is −4 because ^ binds tighter than the minus sign; round() rounds half to even; and log(x, 10) is needed if you want base 10 by name.

10.3 What the figure shows

A blue decay curve over five half-lives (0 to 28 650 years), green dots where the amount is 100, 50, 25, 12.5, 6.25 and 3.125 g, and a purple star at 2000 years and 78.5 g.

10.4 Common problems and fixes

  • NaNs produced: a count is at or below the background, so log() gets zero or a negative value. Drop those rows.
  • Half-life looks too long: the background was not subtracted.
  • Figure not found: it is saved in getwd(), the working folder.

10.5 Useful one-liners

N0 * 0.5^(t / Th)                       # amount left
Th * log(N0 / N) / log(2)                 # time elapsed
t * log(2) / log(N0 / N)                  # half-life
100 * 0.5^(0:7)                        # % left after 0 to 7 half-lives

📈 11. How to Calculate Half-Life in Python

Install once: pip install numpy scipy matplotlib. Run in a terminal (python halflife.py), Jupyter or Google Colab.
numpyArrays, exp and log
scipy.statslinregress and the t distribution for the CI
scipy.constantsAvogadro constant and the Julian year
matplotlibThe 300 dpi decay plot

11.1 The complete script

Python 3 with NumPy, SciPy and Matplotlib, saves halflife_plot.png

# Half-life calculator in Python (StatsUnlock)
import numpy as np
from scipy import stats
from scipy.constants import N_A, Julian_year
import matplotlib.pyplot as plt

# ---- Part A: solve the half-life equation ----
N0 = 100.0     # initial amount, g
t = 2000.0     # elapsed time, years
Th = 5730.0    # half-life of carbon-14, years

n = t / Th
N = N0 * 0.5 ** n                 # use ** for powers; ^ is XOR in Python
lam = np.log(2) / Th                # per year
print(f"n = {n:.5f} half-lives")
print(f"N = {N:.4f} g  ({100 * N / N0:.1f} % left)")
print(f"lambda = {lam:.4e} per year = {lam / Julian_year:.4e} per second")
assert abs(N0 * np.exp(-lam * t) - N) < 1e-9   # substitute back

# activity of the remaining carbon-14 (molar mass 14.0032 g/mol)
nuclei = N / 14.0032 * N_A
activity = (lam / Julian_year) * nuclei          # Bq, lambda must be per second
print(f"activity = {activity:.3e} Bq")

# ---- Part B: fit a half-life to measured counts ----
time = np.arange(0, 181, 10)                # s
counts = np.array([516, 484, 424, 382, 334, 315, 308, 269, 253, 219,
                   201, 179, 139, 156, 138, 125, 91, 81, 81])
bg = 2
res = stats.linregress(time, np.log(counts - bg))
tq = stats.t.ppf(0.975, len(time) - 2)
lam_fit = -res.slope
lo, hi = np.log(2) / (lam_fit + tq * res.stderr), np.log(2) / (lam_fit - tq * res.stderr)
print(f"fitted T1/2 = {np.log(2) / lam_fit:.2f} s (95% CI {lo:.2f} to {hi:.2f} s), R^2 = {res.rvalue**2:.4f}")

# ---- Figure ----
tt = np.linspace(0, 5 * Th, 300)
fig, ax = plt.subplots(figsize=(7, 4.5))
ax.plot(tt, N0 * 0.5 ** (tt / Th), lw=2.5, color="#2563eb", label="N(t)")
k = np.arange(6)
ax.plot(k * Th, N0 * 0.5 ** k, "o", color="#16a34a", label="each half-life")
ax.plot(t, N, "*", ms=16, color="#9333ea", label="t = 2000 y")
ax.set_xlabel("Time (years)"); ax.set_ylabel("Carbon-14 left (g)"); ax.legend()
fig.savefig("halflife_plot.png", dpi=300, bbox_inches="tight")

Printed output: n = 0.34904 half-lives, N = 78.5106 g (78.5 % left), lambda = 1.2097e-04 per year = 3.8332e-12 per second, activity = 1.294e+13 Bq, fitted T1/2 = 66.12 s (95% CI 62.06 to 70.76 s), R^2 = 0.9839.

11.2 What each part does

LineWhat it does
N0 * 0.5 ** nThe half-life equation. Python uses ** for powers; ^ is bitwise XOR and gives an error or a wrong number.
np.log(2)Natural log, 0.693147. np.log10 is base 10.
Julian_year31 557 600 s from scipy.constants, the same year length as this page.
stats.linregressStraight-line fit of ln(count) on time, with the slope's standard error in res.stderr.
stats.t.ppf(0.975, n - 2)The t value for a two-sided 95 % confidence interval.

Python traps: round() rounds half to even; use f"{x:.3g}" for 3 significant figures; floats keep about 15 to 16 digits.

11.3 What the figure shows

The same decay curve as the R figure: N against time with a dot at every half-life and a star at the worked answer.

11.4 Common problems and fixes

  • RuntimeWarning: invalid value in log: a corrected count is zero or negative; filter with mask = counts > bg.
  • TypeError with ^: replace ^ with **.
  • Activity off by 3 × 107: λ was left in per year; divide by Julian_year.

11.5 Useful one-liners

N0 * 0.5 ** (t / Th)                     # amount left
Th * np.log(N0 / N) / np.log(2)            # time elapsed
t * np.log(2) / np.log(N0 / N)             # half-life
100 * 0.5 ** np.arange(8)                  # % left after 0 to 7 half-lives

📋 12. Reference Tables

12.1 Half-lives of common isotopes

IsotopeHalf-lifeDecayWhere you meet it
Polonium-214164 µsalphaRadon decay chain
Protactinium-234m1.16 min (about 70 s)betaSchool half-life experiment
Fluorine-18109.8 minbeta+PET scans
Technetium-99m6.01 hgammaMost common medical imaging isotope
Radon-2223.82 dalphaIndoor radon gas
Iodine-1318.02 dbeta, gammaThyroid treatment, reactor accidents
Phosphorus-3214.3 dbetaBiology labelling
Polonium-210138 dalphaStatic eliminators
Cobalt-605.27 ybeta, gammaRadiotherapy, sterilising food
Tritium (H-3)12.3 ybetaGlow-in-the-dark signs, groundwater dating
Strontium-9028.9 ybetaFallout, thickness gauges
Caesium-13730.1 ybeta, gammaFallout, sediment dating
Americium-241433 yalphaSmoke detectors
Radium-2261600 yalphaOld luminous paint
Carbon-145730 y (textbooks); 5700 ± 30 y (current); 5568 y (Libby, for conventional ages)betaRadiocarbon dating up to about 50 000 years
Plutonium-23924 110 yalphaNuclear fuel and waste
Uranium-2357.04 × 108 yalphaReactor fuel
Potassium-401.25 × 109 ybeta, ECK-Ar rock dating, bananas
Uranium-2384.47 × 109 yalphaDating the Earth and meteorites

Source: NUBASE2020 evaluation (Kondev et al., 2021), rounded. Uranium values: Jaffey et al. (1971). Radiocarbon conventions: Godwin (1962) and Stuiver and Polach (1977).

12.2 Fraction left after n half-lives

Half-lives n00.5123456710
Fraction left10.70711/21/41/81/161/321/641/1281/1024
Percent left100 %70.7 %50 %25 %12.5 %6.25 %3.13 %1.56 %0.78 %0.098 %
Percent decayed0 %29.3 %50 %75 %87.5 %93.75 %96.9 %98.4 %99.2 %99.9 %

12.3 Typical half-lives of caffeine and common substances in adults

SubstanceTypical half-lifeAbout 97 % gone afterNote
CaffeineAbout 5 h (often 3 to 7 h)About 25 hLonger in pregnancy and with some medicines; shorter in smokers
NicotineAbout 2 hAbout 10 hIts breakdown product cotinine lasts much longer
CotinineAbout 16 hAbout 3 to 4 daysUsed in nicotine tests
Paracetamol (acetaminophen)About 2 to 3 hAbout 10 to 15 hLonger after overdose or liver disease
IbuprofenAbout 2 hAbout 10 hShort half-life, so it is taken several times a day
Alcohol (ethanol)No fixed half-lifeNot applicableRemoved at a nearly constant rate (zero order), so use a rate, not a half-life

Caffeine values: Benowitz (1990) and Nehlig (2018). Other values are typical published adult figures and vary widely between people. For learning only; never use them to plan a dose. Plasma terminal half-life is explained by Toutain and Bousquet-Mélou (2004); basic pharmacokinetics by Benet and Zia-Amirhosseini (1995).

12.4 Unit conversions

FromToMultiply by
1 minuteseconds60
1 hourseconds3600
1 dayseconds86 400
1 year (Julian)days365.25 (31 557 600 s)
1 curie (Ci)becquerel (Bq)3.7 × 1010 (exact)
1 millicurie (mCi)megabecquerel (MBq)37
1 mole of nucleinuclei6.022 140 76 × 1023 (exact)
λ per yearλ per seconddivide by 31 557 600

12.5 Half-life by reaction order

OrderRate lawIntegrated lawHalf-lifeStraight-line plotUnits of k
Zerorate = k[A] = [A]₀ − kt[A]₀ / 2k[A] vs tmol L−1 s−1
Firstrate = k[A]ln[A] = ln[A]₀ − ktln 2 / kln[A] vs ts−1
Secondrate = k[A]²1/[A] = 1/[A]₀ + kt1 / (k[A]₀)1/[A] vs tL mol−1 s−1

12.6 Constants used on this page

ConstantValueStatus
Avogadro constant NA6.022 140 76 × 1023 mol−1exact (2019 SI)
ln 20.693 147 180 6mathematical constant
Curie3.7 × 1010 Bqexact by definition
Julian year31 557 600 sexact (IAU)

Source: NIST CODATA 2022 values (Mohr et al., 2025).

📈 13. Example Results

Eight worked examples, from a textbook question to the traps that cost marks. Each figure is drawn to scale from the numbers in the card.

1
TEXTBOOK

Iodine-131 after three half-lives

The classic GCSE and CBSE question.

A hospital has 80 g of iodine-131 (T½ = 8.02 days). How much is left after 24.06 days?

N₀ = 80 gt = 24.06 dT½ = 8.02 d
StepValue
n = t/T½3.00
N80 × 0.5³ = 10.0 g
Iodine-131 decay over 40 days017345067840816243240Time (days)g10.0 g
Three green dots down from 80 g: 40, 20, 10 g.

What it means: Seven eighths (87.5 %) has decayed.

How to write it: N = 80 g × (½)³ = 10.0 g

2
EXAM: FIND T½

Find the half-life from two activity readings

Solving for the half-life, not the amount.

A source reads 640 Bq, then 40 Bq exactly 2 hours later. What is its half-life?

A₀ = 640 BqA = 40 Bqt = 2 h
StepValue
A₀/A16 = 2⁴
T½120 min × ln 2 / ln 16 = 30 min
Activity falling from 640 Bq to 40 Bq in 2 hours01342694035386720306090120150Time (min)Bq40 Bq at 120 min
Four halvings in 120 minutes, so each takes 30 minutes.

What it means: Activity has the same half-life as the number of nuclei.

How to write it: T½ = t ln 2 / ln(A₀/A) = 30 min

3
NON-SI UNITS

A PET tracer dose in millicuries

Mixing mCi, hours and minutes.

5.0 mCi of fluorine-18 (T½ = 109.8 min) is made at 8 am. How much is left at noon?

N₀ = 5.0 mCit = 4.0 h = 240 minT½ = 109.8 min
StepValue
n240 / 109.8 = 2.186
N1.10 mCi = 40.7 MBq
Fluorine-18 decay in millicuries01.12.13.14.25.20110220329439549Time (min)mCi1.10 mCi
Hours were converted to minutes before dividing.

What it means: Only 22 % of the dose remains after 4 hours, so PET tracers are made close to the scanner.

How to write it: N = 5.0 mCi × 0.5^(240/109.8) = 1.1 mCi (41 MBq)

4
EVERYDAY

Afternoon coffee and bedtime

The caffeine half-life question people search for.

A 95 mg cup of coffee at 3 pm, with a caffeine half-life of 5 h. How much is left at 11 pm?

N₀ = 95 mgt = 8 hT½ = 5 h
StepValue
n1.6
N95 × 0.5^1.6 = 31.3 mg
Caffeine left after an afternoon coffee0204060801000510152025Time (hours)mg31 mg at 11 pm
About a third of the caffeine is still there at bedtime.

What it means: Typical adult half-lives range from about 3 to 7 h (Nehlig, 2018), so the real value could be 15 to 45 mg.

How to write it: About 31 mg of caffeine remains (33 %).

5
EXTREME MAGNITUDE

Uranium-238 over the age of the Earth

A half-life of 4.47 billion years.

How much of the uranium-238 present when the Earth formed 4.54 billion years ago is still here?

T½ = 4.468 Gyt = 4.54 Gy
StepValue
n1.016
Fraction left0.494 (49.4 %)
Uranium-238 remaining over billions of years02142638410504.58.9131822Time (billion years)%49.4 % today
Just over one half-life has passed since the Earth formed.

What it means: This slow decay is why uranium-lead dating can measure the age of the Earth (Patterson, 1956).

How to write it: N/N₀ = 0.5^(4.54/4.468) = 0.494

6
NOT PHYSICAL

A reading that goes up

Where the half-life equation gives no answer.

A student records 50 g, then 60 g three days later, and asks for the half-life.

N₀ = 50 gN = 60 gt = 3 d
StepValue
ln(N₀/N)negative
T½not physical
A reading that rises cannot be a half-life0132538506300.801.62.43.24Time (days)grises: not decay
Decay only goes down. A rise means something is being added or measured wrongly.

What it means: The calculator shows a fuchsia Not physical badge instead of a number.

How to write it: No half-life: N > N₀, so this is not radioactive decay.

7
MODEL LIMIT

Forgetting the background

Why school half-lives often come out too long.

A protactinium source (T½ about 70 s) gives 100 counts above a 20 count background. A student uses raw readings at 0 s and 140 s.

raw at 0 s = 120raw at 140 s = 45background = 20
StepValue
Raw-reading T½140 × ln 2 / ln(120/45) = 98.9 s
Corrected T½70 s
Effect of background on a measured half-life021426384105056112168224280Time (s)countswith 20 cpm backgroundtrue 25 counts
Blue = corrected counts; dashed orange = raw readings with background.

What it means: Ignoring 20 counts of background makes the half-life about 41 % too long.

How to write it: Subtract background before taking ln.

8
TRAP

Days typed as years

The unit slip that halves your answer.

A caesium-137 source (T½ = 30.08 years) is checked 30 days after calibration. What percentage is left?

T½ = 30.08 yt = 30 d = 0.0821 y
StepValue
Right0.5^(0.0821/30.08) = 99.81 %
Wrong (30 y)50.1 %
Caesium-137: days versus years trap02142638410501224364860Time (years)%wrong: 30 y gives 50.1 %99.8 % after 30 days
30 days is a tiny fraction of a 30-year half-life.

What it means: The source has hardly changed; typing 30 years would wrongly halve it.

How to write it: N/N₀ = 0.5^(30 d / 10 987 d) = 0.998

✏️ 14. How to Solve Half-Life Problems by Hand, Step by Step

This is the written method examiners expect, on the same problem as Sections 7, 9, 10 and 11: 100 g of carbon-14 (half-life 5730 years). How much is left after 2000 years?

14.1 The written method (GRESS)

  1. Given. N₀ = 100 g, t = 2000 y, T½ = 5730 y.
  2. Required. N, the mass left, in g.
  3. Equation. N = N₀ (½)t/T½.
  4. Substitute, with units. N = 100 g × (½)2000 y / 5730 y. The years cancel, so the power is a pure number.
  5. Solve. 2000 ÷ 5730 = 0.34904; 0.50.34904 = 0.78511; N = 78.511 g.
  6. Check the units and the size. Less than one half-life has passed, so the answer must be between 50 g and 100 g. 78.5 g fits.
  7. Write the answer. N = 78.5 g (3 significant figures).

When the number of half-lives is a whole number, you can halve in your head: 80 g with 3 half-lives gives 80 → 40 → 20 → 10 g. When you need the time or the half-life, take logs: t = T½ × ln(N₀/N) / ln 2.

14.2 On a scientific calculator

TaskKeysDisplay
Amount left100 × 0.5 xy or ^ ( 2000 ÷ 5730 ) =78.51062746
Time for 25 % left5730 × ln 4 ) ÷ ln 2 ) =11460
Half-life from 80 to 10 in 24 d24 × ln 2 ) ÷ ln 8 ) =8
Decay constantln 2 ) ÷ 5730 =1.209680943 × 10−4

Brackets matter: without them, 0.5^2000÷5730 computes (0.52000) ÷ 5730, which is 0. On natural-display models such as the Casio fx-991EX the power key opens a box for the exponent; type 2000 ÷ 5730 inside it. The ln key needs no DEG or RAD setting.

14.3 Measure it yourself: a school lab practical

Modelling half-life with 600 dice (safe for every classroom)

  1. Put 600 six-sided dice (or cubes with one painted face) in a tray. Each die is one "nucleus".
  2. Shake and throw them. Remove every die that shows a six: those nuclei have "decayed".
  3. Count the dice left and record the throw number and the count.
  4. Repeat until fewer than about 50 dice remain (about 13 throws).
  5. Combine results from several groups to reduce the scatter.
  6. Enter the throw numbers and counts in the Fit From Data tab (time unit: throws).
ThrowDice left (Class 1)ln(dice left)
06006.397
14896.192
24166.031

Graph to plot: ln(dice left) against throw number. The gradient is −λ. Theory says λ = ln(6/5) = 0.182 per throw, so T½ = ln 2 / 0.182 = 3.80 throws. Class 1's data give 3.60 throws (95 % CI 3.49 to 3.71) and Class 2's give 3.93 throws (3.83 to 4.04), which bracket the theory.

Main sources of error: too few dice (random scatter grows as the count falls), miscounting, and dice that roll off the tray. Use more dice, pool classes, and stop before the count is very small. Murray and Hart (2012) explain why the dice "half-life" differs slightly from the simple estimate. Schools with a protactinium-234m generator can do the real experiment (teacher-led, following the school's radiation rules) and fit the counts the same way.

14.4 Practice problems with answers

1. 64 g of an isotope has a half-life of 3 days. How much is left after 12 days?

12 ÷ 3 = 4 half-lives. 64 → 32 → 16 → 8 → 4 g.

2. A count rate falls from 1000 cpm to 125 cpm in 30 min. Find T½.

1000/125 = 8 = 23, so 3 half-lives in 30 min. T½ = 10 min.

3. What fraction of radon-222 (T½ = 3.823 d) is left after 15.29 days?

15.29 ÷ 3.823 = 4.0 half-lives, so (½)4 = 1/16 = 6.25 %.

4. A bone has 12.5 % of its original carbon-14. How old is it? (T½ = 5730 y)

12.5 % = (½)3, so 3 × 5730 = 17 190 years.

5. How long until 90 % of a 5-hour-half-life dose of caffeine is gone?

10 % left: t = 5 h × ln 10 / ln 2 = 16.6 h.

6. 100 MBq of Tc-99m (T½ = 6.01 h). Activity after 18 h?

n = 18 ÷ 6.01 = 2.995. 100 × 0.52.995 = 12.5 MBq.

7. Non-SI: 2.0 mCi of iodine-131 after 48 hours. In MBq? (T½ = 8.02 d)

48 h = 2.00 d. 2.0 × 0.52/8.02 = 1.68 mCi = 62 MBq (1 mCi = 37 MBq).

8. Find λ for cobalt-60 (T½ = 5.271 y) in s−1.

λ = 0.693147 / (5.271 × 31 557 600 s) = 4.17 × 10−9 s−1.

9. What fraction of strontium-90 (T½ = 28.91 y) is left after 100 years?

0.5100/28.91 = 0.53.459 = 0.0909 (9.1 %).

10. Trap: a sample grows from 50 g to 60 g in 3 days. What is its half-life?

Not physical. A decaying sample cannot grow, so there is no half-life. Something is being added (a parent isotope feeding it, or a measurement error).

14.5 Mistakes that lose marks

  • Mixing units: t in hours with T½ in days. Convert one first.
  • Dividing by the number of half-lives instead of halving: after 3 half-lives, 80 g becomes 10 g, not 80 ÷ 3.
  • Missing brackets around t/T½ on the calculator.
  • Using log10 on one side and ln on the other.
  • Leaving λ per year when finding activity in becquerels, which needs λ per second.
  • Thinking the sample is "gone" after 2 half-lives. 25 % is still there.
  • Giving the final answer without a unit or with too many significant figures.

🎯 15. When to Use This Equation

Use the half-life equation when
  • One radioactive isotope decays to a stable product.
  • A drug is removed from the blood in proportion to how much is there (first-order elimination).
  • A first-order chemical reaction runs at constant temperature.
  • Your ln(amount) against time graph is a straight line.
Use something else when
  • The daughter is also radioactive (decay chain): use the Bateman equations.
  • The substance is removed at a constant rate (alcohol): zero order.
  • Two isotopes are mixed: fit a sum of two exponentials.
  • The amount is growing (bacteria, money): use doubling time.

15.1 Four real examples

  • Nuclear medicine: a 740 MBq (20 mCi) Tc-99m dose made at 6 am is down to about 46 MBq the next morning, 24 h later.
  • Archaeology: charcoal with 25 % of modern carbon-14 is about 11 460 years old in physics terms, before calibration.
  • Everyday life: a 200 mg coffee with a 5 h half-life still leaves 50 mg in the body 10 hours later.
  • Geology: about half of the Earth's original uranium-238 is still here after 4.54 billion years.

15.2 Decision tree

CheckIs ln(amount) against time a straight line?
YesFirst order: use this half life calculator.
NoTry [A] against t (zero order) or 1/[A] against t (second order) in the Reaction Order tab.
CheckIs the daughter product also radioactive?
NoSimple decay, one half-life.
YesDecay chain; this simple model does not describe the total activity.
CheckIs more being added over time (repeat doses, a living organism)?
DosesUse the Repeated Doses tab.
Continuous supplyDecay stops being simple until the supply ends (carbon-14 starts its clock at death).

🔧 16. Common Mistakes and Troubleshooting

My answer is almost exactly half (or double) what the book says

You may have used the number of half-lives as a divisor. N = N0 × (1/2)^n, not N0 ÷ (2n). Three half-lives of 80 g give 10 g, not 13.3 g.

My answer is wildly wrong, like 1.6 % instead of 84 %

The time and the half-life are in different units (hours and days). Convert one, or pick the right units in the drop-downs.

My calculator shows 0

Brackets are missing around t/T½, so the calculator raised 0.5 to the full time and then divided. Type 0.5^(2000/5730).

The tool says Not physical

N is bigger than N0 or equal to it. Decay can only make the amount smaller, so no half-life or positive time fits. Check the order of the values.

My fitted half-life is longer than the book value

Usually the background was not subtracted, or late low counts dominate. Enter the background and try the weighted fit.

The confidence interval goes to infinity

The data hardly decay over the time you measured. Measure for at least two half-lives.

My CSV loads but nothing appears

Choose the time column, then click at least one other column so it turns green, then press Load selected columns as groups.

A group has a different number of values

Each group needs exactly one reading per time value. Fill gaps or delete extra times.

Excel gives #NUM!

You took LN of zero or a negative number, usually a count at or below background. Remove those rows.

Activity is millions of times too big or small

λ must be per second for becquerels. Divide λ per year by 31 557 600.

Carbon dating ages differ between sources

Some use 5730 years, some 5700 years, and conventional radiocarbon ages use the Libby value of 5568 years. Calibrated ages need IntCal20.

⚖ 17. Assumptions and Limitations

17.1 Assumptions

  1. The half-life is constant. True for nuclear decay to better than one part in a thousand under normal conditions (chemical effects change a few electron-capture half-lives by well under 1 %, and claims of seasonal changes were not confirmed by Pommé et al., 2016). If it were not, answers far into the future would drift.
  2. A single isotope or a single first-order process. Check: ln N against t is straight. If a second, longer-lived component is present, the simple model underestimates what is left at late times.
  3. The daughter is stable. If it is radioactive, the measured total activity falls more slowly than the parent's half-life predicts.
  4. Background is removed. If not, late readings are too high and the fitted half-life comes out too long (Tellinghuisen, 1993).
  5. Large numbers of nuclei. With only a few hundred nuclei, random scatter is about √N, so a single run can differ from the prediction by several percent in either direction.
  6. Instant absorption (dose tab). Real tablets take time to absorb, so true peaks are lower and later than shown.

17.2 Limitations

  1. Decay chains (U-238 to Pb-206, Ra-226 to Rn-222) need the Bateman equations.
  2. Radiocarbon dates must be calibrated with IntCal20 to give calendar years (Reimer et al., 2020); this page gives the physics age only.
  3. Drug half-lives vary between people by a factor of two or more; the dose tab is for learning, not prescribing.
  4. Dead time in Geiger counters at high count rates makes early counts too low, which flattens the start of the curve.
  5. Reaction half-lives depend on temperature through the rate constant k.

🏁 18. Conclusion

18.1 What the answer is

___

18.2 What it means physically

___

18.3 Watch out for

___

18.4 Next steps

___

18.5 The big picture

Half-life is one of the few ideas that links nuclear physics, chemistry, medicine, archaeology and geology with a single equation. The same N = N₀(½)t/T½ dates a 10 000-year-old campfire, sets the waiting time before a PET scan, explains why coffee at 6 pm can still affect sleep at midnight, and shows that the Earth is about 4.5 billion years old (Patterson, 1956). Getting it right comes down to three habits: keep t and T½ in the same unit, check the answer against simple halving, and fit real data on a log scale with background removed. Used that way, this half life calculator gives an answer you can trust and explain.

❓ 19. Frequently Asked Questions

How do you calculate half-life?

Use T½ = t × ln 2 / ln(N0/N), where N0 is the starting amount, N the amount left after time t. For example, 80 mg falling to 10 mg in 24 days gives T½ = 24 × 0.693 / ln 8 = 8.0 days. If the number of halvings is a whole number, you can also count them: 80, 40, 20, 10 is three halvings in 24 days.

What is the formula for half-life?

The half-life formula is N = N0 × (1/2)^(t/T½), which is the same as N = N0 × e^(−λt) with λ = ln 2 / T½. Rearranged, T½ = ln 2 / λ = t × ln 2 / ln(N0/N).

What is half-life in chemistry?

In chemistry, half-life is the time for the concentration of a reactant to fall to half its starting value. For a first-order reaction t½ = ln 2 / k and does not depend on concentration; for zero order t½ = [A]0 / 2k, and for second order t½ = 1 / (k[A]0).

What does the half-life of a drug mean?

The half-life of a drug is the time it takes for the amount of the drug in the blood to fall by half. After about 5 half-lives, roughly 97 % of a single dose has gone, and with regular doses the level reaches a steady state after about 5 half-lives.

How long does caffeine stay in your body?

Caffeine has a half-life of about 5 hours in a typical adult, often between 3 and 7 hours. A 200 mg dose drops to about 100 mg after 5 hours, 50 mg after 10 hours, and is mostly gone after about 25 hours (5 half-lives).

How do you find half-life from a graph?

On a graph of amount against time, read the time for the amount to fall from any value to half of it, for example 100 to 50 or 80 to 40. On a graph of ln(amount) against time, the slope is −λ, so the half-life is ln 2 divided by minus the slope.

How do you calculate the decay constant from half-life?

Divide ln 2 by the half-life: λ = 0.693147 / T½. Carbon-14, with T½ = 5730 years, has λ = 1.21 × 10⁻⁴ per year, or 3.83 × 10⁻¹² per second.

How much is left after 3 half-lives?

After 3 half-lives, one eighth (12.5 %) of the original amount is left, because 1/2 × 1/2 × 1/2 = 1/8. So 80 g becomes 10 g and 87.5 % has decayed.

How many half-lives until a substance is gone?

A decaying substance never reaches exactly zero, but after 7 half-lives less than 1 % remains and after 10 half-lives less than 0.1 % remains. In medicine, 5 half-lives (about 3 % left) is the usual rule for a drug being cleared.

What is the half-life of carbon-14?

The half-life of carbon-14 is about 5730 years in most textbooks; the current evaluated value is 5700 ± 30 years. Conventional radiocarbon ages are still reported with the older Libby half-life of 5568 years and then calibrated.

How do you calculate the half-life of a first-order reaction?

For a first-order reaction, t½ = ln 2 / k = 0.693 / k, where k is the rate constant in s⁻¹ (or any per-time unit). A reaction with k = 0.0231 min⁻¹ has t½ = 30.0 min.

How do you calculate half-life for a zero-order reaction?

For a zero-order reaction, t½ = [A]0 / (2k), where [A]0 is the starting concentration in mol/L and k is in mol L⁻¹ s⁻¹. With [A]0 = 1.00 M and k = 0.010 M/s, t½ = 50 s, and each later half-life is half as long.

What is the SI unit of half-life?

The SI unit of half-life is the second (s), although minutes, hours, days and years are common. The decay constant λ has the SI unit s⁻¹, and activity is measured in becquerels (1 Bq = 1 decay per second).

How do you calculate half-life in Excel?

In Excel, type =B2*0.5^(C2/D2) for the amount left, with N0 in B2, time in C2 and half-life in D2. To find a half-life from data, use =LN(2)/-SLOPE(LN(B2:B20),A2:A20) with times in column A and corrected counts in column B.

How do you calculate half-life in R?

In R, the amount left is N0 * 0.5^(t / Th), and the half-life from two values is t * log(2) / log(N0 / N), where log() is the natural log. For data, fit lm(log(counts) ~ time) and use log(2) / -coef(fit)[2].

How do you calculate half-life in Python?

In Python, the amount left is N0 * 0.5 ** (t / Th), using ** for the power. For data, run scipy.stats.linregress(time, np.log(counts)) and compute np.log(2) / -res.slope.

How do you calculate half-life on a scientific calculator?

Type N0 × 0.5 ^ ( t ÷ T½ ) = with brackets around the exponent; for carbon-14 that is 100 × 0.5^(2000 ÷ 5730) = 78.51. For the half-life itself, type t × ln 2 ÷ ln(N0 ÷ N) =.

What is the difference between half-life and mean lifetime?

The half-life is the time for half the nuclei to decay; the mean lifetime τ is the average time a nucleus survives. They are linked by τ = T½ / ln 2 = 1.443 T½, so the mean lifetime is always about 44 % longer.

Can the half-life of an element change?

No, not measurably under normal conditions: heat, pressure and chemistry change most half-lives by far less than 1 %. Only a few electron-capture isotopes show tiny chemical effects, and careful studies found no seasonal or solar changes.

How do you use half-life to find the age of a fossil or rock?

Measure the fraction of the parent isotope left, then use t = T½ × ln(N0/N) / ln 2. If 25 % of the carbon-14 in a bone remains, t = 5730 × ln 4 / ln 2 = 11 460 years; rocks use slower isotopes such as uranium-238 or potassium-40.

📑 20. Cite This Tool

APA 7th edition
Pushbanathan, R. (2026). Half life calculator [Interactive physics tool]. StatsUnlock. https://statsunlock.com/half-life-calculator/
BibTeX
@misc{statsunlock_halflife_2026, author={Pushbanathan, Reegan}, title={Half Life Calculator}, year={2026}, publisher={StatsUnlock}, note={Interactive physics tool}, url={https://statsunlock.com/half-life-calculator/}}
Methods sentence (fills in after Calculate)
Press Calculate to fill in a methods sentence with your values.

🔗 21. Related Tools

📖 22. Glossary of Terms

TermPlain-English meaning
Activity (A)The number of decays per second, measured in becquerels (Bq). A = λN.
Alpha decayDecay in which a nucleus gives out a helium-4 nucleus.
Background radiationRadiation counted even with no source present, from rocks, air and space. Subtract it before fitting.
Becquerel (Bq)The SI unit of activity: one decay per second (s⁻¹).
Beta decayDecay in which a neutron changes to a proton and gives out an electron (or the reverse, beta plus).
Carbon datingFinding the age of once-living material from the fraction of carbon-14 left.
Curie (Ci)An older unit of activity: exactly 3.7 × 10¹⁰ Bq.
Daughter nuclideThe new nucleus formed when a parent nucleus decays.
Decay chainA series of decays where each daughter is also radioactive, ending in a stable nucleus.
Decay constant (λ)The probability per unit time that a nucleus decays, in s⁻¹. λ = ln 2 / T½.
Exponential decayA decrease where the rate is proportional to the amount present, giving a constant half-life.
First-order processA process whose rate is proportional to the amount present; it has a constant half-life.
Half-life (T½)The time for half of the nuclei, or half of a drug or reactant, to disappear. SI unit: second (s).
IsotopeAtoms of the same element with different numbers of neutrons, such as carbon-12 and carbon-14.
Mean lifetime (τ)The average survival time of a nucleus: τ = 1/λ = 1.443 T½, in seconds.
Natural logarithm (ln)The logarithm to base e (2.718...). ln 2 = 0.693 147.
NuclideA particular nucleus with a given number of protons and neutrons.
Parent nuclideThe nucleus that decays.
Rate constant (k)The constant in a chemical rate law; its unit depends on the reaction order.
Steady stateThe level reached with repeated doses when the amount removed each interval equals the dose; about 5 half-lives to reach.
Terminal half-lifeThe half-life of the final, slowest phase of a drug leaving the blood.

📚 23. References

Peer-reviewed sources behind the equations, constants, half-life values, fitting method and teaching notes in this half life calculator. Every DOI was checked against Crossref.

  1. Benet, L. Z., & Zia-Amirhosseini, P. (1995). Basic principles of pharmacokinetics. Toxicologic Pathology, 23(2), 115–123. https://doi.org/10.1177/019262339502300203
  2. Benowitz, N. L. (1990). Clinical pharmacology of caffeine. Annual Review of Medicine, 41, 277–288. https://doi.org/10.1146/annurev.me.41.020190.001425
  3. Bronk Ramsey, C. (2008). Radiocarbon dating: Revolutions in understanding. Archaeometry, 50(2), 249–275. https://doi.org/10.1111/j.1475-4754.2008.00394.x
  4. Glaister, P. (2007). Exponential curve fitting with least squares. International Journal of Mathematical Education in Science and Technology, 38(3), 422–427. https://doi.org/10.1080/00207390601128099
  5. Godwin, H. (1962). Half-life of radiocarbon. Nature, 195(4845), 984. https://doi.org/10.1038/195984a0
  6. Jaffey, A. H., Flynn, K. F., Glendenin, L. E., Bentley, W. C., & Essling, A. M. (1971). Precision measurement of half-lives and specific activities of 235U and 238U. Physical Review C, 4(5), 1889–1906. https://doi.org/10.1103/PhysRevC.4.1889
  7. Kondev, F. G., Wang, M., Huang, W. J., Naimi, S., & Audi, G. (2021). The NUBASE2020 evaluation of nuclear physics properties. Chinese Physics C, 45(3), 030001. https://doi.org/10.1088/1674-1137/abddae
  8. Libby, W. F., Anderson, E. C., & Arnold, J. R. (1949). Age determination by radiocarbon content: World-wide assay of natural radiocarbon. Science, 109(2827), 227–228. https://doi.org/10.1126/science.109.2827.227
  9. Mohr, P. J., Newell, D. B., Taylor, B. N., & Tiesinga, E. (2025). CODATA recommended values of the fundamental physical constants: 2022. Reviews of Modern Physics, 97(2), 025002. https://doi.org/10.1103/RevModPhys.97.025002
  10. Murray, A., & Hart, I. (2012). The ‘radioactive dice’ experiment: Why is the ‘half-life’ slightly wrong? Physics Education, 47(2), 197–201. https://doi.org/10.1088/0031-9120/47/2/197
  11. Nehlig, A. (2018). Interindividual differences in caffeine metabolism and factors driving caffeine consumption. Pharmacological Reviews, 70(2), 384–411. https://doi.org/10.1124/pr.117.014407
  12. Patterson, C. (1956). Age of meteorites and the earth. Geochimica et Cosmochimica Acta, 10(4), 230–237. https://doi.org/10.1016/0016-7037(56)90036-9
  13. Pommé, S., Stroh, H., Paepen, J., et al. (2016). Evidence against solar influence on nuclear decay constants. Physics Letters B, 761, 281–286. https://doi.org/10.1016/j.physletb.2016.08.038
  14. Prather, E. (2005). Students’ beliefs about the role of atoms in radioactive decay and half-life. Journal of Geoscience Education, 53(4), 345–354. https://doi.org/10.5408/1089-9995-53.4.345
  15. Reimer, P. J., Austin, W. E. N., Bard, E., et al. (2020). The IntCal20 Northern Hemisphere radiocarbon age calibration curve (0–55 cal kBP). Radiocarbon, 62(4), 725–757. https://doi.org/10.1017/RDC.2020.41
  16. Rutherford, E., & Soddy, F. (1902). The cause and nature of radioactivity: Part I. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 4(21), 370–396. https://doi.org/10.1080/14786440209462856
  17. Rutherford, E., & Soddy, F. (1903). Radioactive change. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 5(29), 576–591. https://doi.org/10.1080/14786440309462960
  18. Stuiver, M., & Polach, H. A. (1977). Discussion: Reporting of 14C data. Radiocarbon, 19(3), 355–363. https://doi.org/10.1017/S0033822200003672
  19. Tellinghuisen, J. (1993). Effect of background on the least-squares estimation of exponential decay parameters. Analytical Chemistry, 65(9), 1277–1280. https://doi.org/10.1021/ac00057a027
  20. Toutain, P. L., & Bousquet-Mélou, A. (2004). Plasma terminal half-life. Journal of Veterinary Pharmacology and Therapeutics, 27(6), 427–439. https://doi.org/10.1111/j.1365-2885.2004.00600.x
STATS UNLOCK · statsunlock.com · Half Life Calculator
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Statistical Models

Important Plots & Charts

Calculators and Converters