Exponential Decay Calculator screenshot

Exponential Decay Calculator

Compute exponential decay from a half-life, with the decay constant, the half-lives elapsed and the time to reach a target amount.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Exact at whole half-lives

Exponential Decay Calculator

Compute exponential decay from a half-life, with the decay constant, the half-lives elapsed and the time to reach a target amount.

How this page computes

The remaining amount is a · 2^(−t/h), with the continuous form a · e^(−λt) computed beside it and their relative gap printed as the check. The decay constant is ln 2 / h.

A target time solves the decay law for t, which is h · ln(a/target) / ln 2. Targets a decaying quantity cannot reach are refused before the logarithm is taken.

The calculation runs entirely in this browser tab; nothing is uploaded.

After three half-lives of five time units, 100 has fallen to 12.5 — three halvings, exactly. The page prints the remaining amount, the fraction left, the decay constant and the number of half-lives elapsed.

A target amount turns the calculation around: the time to reach 10 from 100 is 16.609640, which is 3.321928 half-lives. A target above the starting amount is refused, because decay never rises.

How to use Exponential Decay Calculator

Enter the starting amount, the half-life and the elapsed time, and optionally a target amount, then press Run. The half-life must be above zero and the elapsed time cannot be negative.

The output gives the remaining and decayed amounts, the fraction left, the decay constant λ = ln 2 / h, the half-lives elapsed, and — when a target is given — the time to reach it.

Two spellings of one decay law

a · 2^(−t/h) and a · e^(−λt) are the same function when λ = ln 2 / h, because 2^(−t/h) = e^(−t ln 2 / h). The page computes both and prints their relative gap, so the two spellings are shown to agree rather than asserted to.

The time to a target follows from solving a · e^(−λt) = target for t, which gives t = h · ln(a / target) / ln 2. The page refuses a target above the start, because the logarithm would be negative and no decaying quantity reaches it.

What to Expect

Best for

  • The amount left after a given time and half-life
  • The time for a substance to fall to a target
  • Converting between a half-life and a decay constant

Not ideal for

  • A target of zero, which an exponential never reaches
  • A target above the starting amount, which decay never reaches
  • Growth, which has its own page

What this tool keeps

  • Every input exactly as typed

What may need cleanup

  • Nothing: the remaining amount is the formula's value

Common errors

  • A half-life at or below zero is refused
  • A negative elapsed time is refused
  • A target above the start or at zero is refused with the reason

Example use cases

  • Find the amount left after three half-lives
  • Find when 100 falls to 10 with a half-life of 5
  • Convert a half-life to a decay constant

Sample input

100 with a half-life of 5, after 15, target 10

Sample output

12.5 remaining after 3 half-lives; 16.609640 to reach 10

Who this is for

  • Students meeting radioactive decay
  • Readers checking a half-life step

Frequently asked questions

Why is the answer exactly 12.5?

Because fifteen time units is exactly three half-lives of five, and each half-life halves the amount: 100, 50, 25, 12.5. When the elapsed time is not a whole number of half-lives the result is irrational and printed to six decimals.

What is the decay constant?

The rate λ in e^(−λt), equal to ln 2 divided by the half-life. It is the continuous counterpart of the half-life and the quantity most physics formulas use.

Can a decaying quantity ever reach zero?

No. Each half-life halves it, so it approaches zero without arriving, which is why the page refuses a target of zero instead of printing an infinite time.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.