Half-Life Decay Calculator

Solve exponential decay for amount, time, or half-life.

Solve for

Enter the three known values to solve for the selected variable.

How this half-life calculator works

This four-way exponential-decay solver finds the missing quantity from the other three. Choose what to solve for (default Remaining amount), enter the three known values each greater than 0, and pick the shared time unit. The headline is the solved amount (same dimension as the inputs) or a time in that unit, with up to six decimal places. Time and half-life always share the selected unit; the widget converts both through seconds internally.

Empty or typed 0 on a required field is no result. In Time elapsed or Half-life modes, remaining must be greater than 0 and strictly less than the initial amount — otherwise the result would be negative or undefined. Defaults are remaining-amount mode and seconds. Advanced options is GPA-style: Show decay details is unused while the section is closed, even if it stays checked.

How to use the half-life calculator

  1. Choose what to solve for: Remaining amount (default), Initial amount, Time elapsed, or Half-life. The form shows the other three inputs.
  2. Enter all three known values greater than 0. Empty or typed 0 is no result. Amounts can be atoms, mass, activity, or any proportional quantity.
  3. Pick one time unit for both elapsed time and half-life. Default is seconds.
  4. Open Advanced options only if you want remaining and decayed percentages, λ, τ, or extra time-unit rows. Closing the section hides those extras even if the checkbox stays checked.

Advanced options, and closing them

This section is GPA-style. Closed, Show decay details is unused even if it stays checked. Open and checked, extra rows show percentage remaining, percentage decayed, the decay constant λ = ln(2) ÷ t½, and the mean lifetime τ = t½ ÷ ln(2). When the result is a time, extra conversions appear for s, min, h, day, and year other than the current unit.

Exponential decay formulas

Remaining N = N₀ × 2^(−t / t½). Initial N₀ = N ÷ 2^(−t / t½). Time t = t½ × log₂(N₀ ÷ N). Half-life t½ = t ÷ log₂(N₀ ÷ N). λ = ln(2) / t½ and τ = t½ / ln(2) appear only in Advanced. Arithmetic for times runs after conversion to seconds.

Remaining amount
N=N0×2−tt12
Time elapsed
t=t12×log2(N0N)

Worked examples

Example: 100, half-life 5 s, time 10 s, solve remaining

N = 100 × 2^(−10 ÷ 5) = 100 × ¼ = 25. With Advanced options open and Show decay details checked, remaining is 25% and decayed is 75%. λ = ln(2) ÷ 5 ≈ 0.1386 s⁻¹. τ = 5 ÷ ln(2) ≈ 7.213 s.

Example: 100 down to 25, half-life 5 s, solve time

t = 5 × log₂(100 ÷ 25) = 5 × 2 = 10 s. Because the result is a time, extra conversion rows can include min, h, day, and year (seconds is omitted because it is already the headline).

Example: remaining 100 with initial 100, solve time

Time and half-life modes need remaining strictly less than initial. Equal amounts would make the log zero. Remaining greater than initial would make time negative. Empty or typed 0 anywhere required is still no result. Closing Advanced options hides decay details even if the checkbox stays checked.

Things to keep in mind

This is first-order exponential decay. Amounts are proportional — they do not have to be atoms. Time and half-life share one unit. Mixing seconds with years is safe because both convert through seconds. Closing Advanced options hides extras without clearing your inputs.

Half-life calculator FAQ

Which fields are required?

The three known values for the chosen mode must each be greater than 0. Empty or typed 0 is no result. Mode defaults to Remaining amount; the time unit defaults to seconds. Advanced options are optional.

What happens when I close Advanced options?

Percentages, λ, τ, and extra time conversions are unused even if Show decay details stays checked — the same GPA contract as other calculators on this site. The headline still shows the solved value.

Why is there no result when remaining is larger than initial?

In Time elapsed or Half-life modes, remaining must be greater than 0 and strictly less than initial. Equal or larger remaining would make the log zero or the time negative. Remaining-amount and Initial-amount modes still need all three known values greater than 0.

Do time and half-life have to use the same unit?

Yes. There is one time-unit selector for both. Internally both convert to seconds, the formula runs, then a time result converts back to that unit.

Which extra rows appear in Advanced?

Only while Advanced options is open and Show decay details is checked: remaining %, decayed %, λ, and τ. When the result is a time, extra rows also show s, min, h, day, and year, leaving out the current unit.

Does this half-life calculator store my numbers?

Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.