Home Calculators Categories Category: Science & Engineering

Half Life Calculator

This half life calculator solves a single first-order decay problem. Enter an initial amount, a remaining amount and an elapsed time to find the half-life. In Advanced mode you can instead solve for the remaining amount, the initial amount, the elapsed time or the decay constant. Each answer comes with a worked solution, a table of successive half-lives and an interactive decay graph, so you can see how the result was obtained and check its units.

Input

Single first-order decay, with no replenishment. Enter amounts in the same unit. All times use the selected unit.

Load two halvings or a carbon-14 example, then edit any value.
Applies to all times. Changing the label reinterprets values; it does not convert them.

Changing this label reinterprets all values in that unit; it does not convert them.

Amount before decay, using the same unit as Remaining amount.
Amount still present, not the amount that was lost.
Time between the two observations, in the selected time unit.
Visual
First-order decay graphAmount remaining versus elapsed time; the marked point represents the current observation.
Output
Half-life
10 days

Displayed to 7 significant digits; calculations retain full precision.

Worked solution

    Successive half-lives

    Amounts use the same unit as your inputs.

    Half-livesTime (days)Amount remaining

    What the calculator solves

    The calculator models one decay process with a constant, positive decay constant. Nothing is added to the sample, and no decay chain feeds it. The decaying quantity can be mass, counts, activity or concentration. The initial and remaining amounts must measure the same quantity in the same unit.

    It is built for first-order decay only. It does not handle second-order kinetics, a universal half-life for a substance such as ozone, or clinical interpretation of lab values such as PSA. It is also not a calibrated radiocarbon dating tool (see the carbon-14 section below).

    How to use the calculator

    Simple mode: find the half-life

    Simple mode is the default. It solves for half-life from three inputs:

    1. Initial amount: the quantity at the start.
    2. Remaining amount: the quantity still present after the elapsed time.
    3. Elapsed time: how long the decay has run, in the selected time unit.

    The defaults are 100, 25 and 20 days. They return a half-life of 10 days, because 25% remaining means the sample halved twice in 20 days.

    Advanced mode: choose the unknown

    Advanced mode adds a Solve for menu, which defaults to Half-life. The selected operation decides which numeric fields appear.

    Solve for You enter Calculation
    Half-life Initial amount, Remaining amount, Elapsed time H=tln⁡2ln⁡(N0/N)H = \dfrac{t \ln 2}{\ln(N_0/N)}
    Remaining amount Initial amount, Known half-life, Elapsed time N=N0(12)t/HN = N_0 \left(\tfrac{1}{2}\right)^{t/H}
    Initial amount Remaining amount, Known half-life, Elapsed time N0=N⋅2t/HN_0 = N \cdot 2^{t/H}
    Elapsed time Initial amount, Remaining amount, Known half-life t=Hln⁡(N0/N)ln⁡2t = \dfrac{H \ln(N_0/N)}{\ln 2}
    Decay constant from half-life Known half-life λ=ln⁡2H\lambda = \dfrac{\ln 2}{H}
    Half-life from decay constant Decay constant H=ln⁡2λH = \dfrac{\ln 2}{\lambda}

    Advanced mode also shows the decay constant λ\lambda alongside the main answer.

    Time units

    Choose seconds, minutes, hours, days or years. The default is days. Elapsed time and half-life use the selected unit. The decay constant uses the reciprocal unit, shown as 1/days when days are selected.

    Changing the time unit does not convert your numbers. It keeps the entered values and reads them in the new unit. If you type 20 days and then switch to years, the calculator now reads 20 years. Put every time quantity on the same basis before you calculate.

    Input ranges

    Direct entry accepts these inclusive ranges. The sliders are a convenient alternative.

    Field Default Range
    Initial amount 100 10−910^{-9} to 101210^{12}
    Remaining amount 25 10−910^{-9} to 101210^{12}
    Elapsed time 20 0 to 101210^{12}
    Known half-life 10 10−910^{-9} to 101210^{12}
    Decay constant 0.06931471805599453 10−1210^{-12} to 101210^{12}

    These limits apply to what you enter. A calculated result can fall outside them if it is still representable.

    Examples and reset

    The Examples menu has three entries: Custom measurements, Two halvings in 20 days, and Carbon-14: 25% after 11460 years. The two named presets load Simple mode with an initial amount of 100 and a remaining amount of 25. The first returns 10 days. The second returns 5,730 years under the ideal physical decay model. Reset restores Simple mode with 100, 25 and 20 days.

    The half-life formula

    Half-life HH is the time for a decaying quantity to fall to half its value. In first-order decay, the rate of loss is proportional to the amount present:

    dNdt=−λN\frac{dN}{dt} = -\lambda N

    Solving this gives the exponential decay law, which has two equivalent forms:

    N(t)=N0e−λt=N0(12)t/HN(t) = N_0 e^{-\lambda t} = N_0 \left(\frac{1}{2}\right)^{t/H}

    The symbols are:

    • N0N_0: the initial amount.
    • N(t)N(t), or NN: the amount remaining after elapsed time tt.
    • HH: the half-life, in time units.
    • λ\lambda: the positive continuous decay constant, in reciprocal time units.
    • ln⁡\ln: the natural logarithm.

    Setting N=N0/2N = N_0/2 at t=Ht = H in the exponential form gives the link between the two constants:

    λH=ln⁡2⇒H=ln⁡2λ,λ=ln⁡2H\lambda H = \ln 2 \quad\Rightarrow\quad H = \frac{\ln 2}{\lambda}, \qquad \lambda = \frac{\ln 2}{H}

    Because ln⁡2≈0.693147\ln 2 \approx 0.693147, the decay constant is about 0.693 divided by the half-life. A longer half-life means slower decay and a smaller λ\lambda.

    Three derived quantities help explain the decay:

    • Fraction remaining: N/N0N/N_0
    • Percent remaining: 100×N/N0100 \times N/N_0
    • Number of elapsed half-lives: t/Ht/H

    The decay constant is a proportional rate of change per unit time. The fraction lost over an interval Δt\Delta t is 1−e−λΔt1 - e^{-\lambda \Delta t}. For a half-life of 10 days, λ≈0.0693 day−1\lambda \approx 0.0693\ \text{day}^{-1}, but about 6.7% is lost per day, not 6.93%. The two differ because the rate applies continuously to a shrinking amount.

    Solving for the half-life with algebra

    Here is the algebra behind the first row of the table above. It is the same reasoning used in algebra 2 and precalculus exponential decay problems.

    Start with the model:

    NN0=(12)t/H\frac{N}{N_0} = \left(\frac{1}{2}\right)^{t/H}

    The unknown HH sits in an exponent, so take the natural logarithm of both sides:

    ln⁡ ⁣(NN0)=tHln⁡ ⁣(12)=−tHln⁡2\ln\!\left(\frac{N}{N_0}\right) = \frac{t}{H}\ln\!\left(\frac{1}{2}\right) = -\frac{t}{H}\ln 2

    Flip the fraction inside the left logarithm, which changes its sign, and solve for HH:

    ln⁡ ⁣(N0N)=tHln⁡2⇒H=tln⁡2ln⁡(N0/N)\ln\!\left(\frac{N_0}{N}\right) = \frac{t}{H}\ln 2 \quad\Rightarrow\quad H = \frac{t \ln 2}{\ln(N_0/N)}

    Common logarithms work equally well, as long as you use the same base in numerator and denominator: H=tlog⁡2/log⁡(N0/N)H = t \log 2 / \log(N_0/N).

    Worked examples

    Example 1: half-life from measurements

    A sample falls from 100 units to 25 units in 20 days. Find the half-life.

    H=20ln⁡2ln⁡(100/25)=20ln⁡2ln⁡4=20ln⁡22ln⁡2=10 daysH = \frac{20 \ln 2}{\ln(100/25)} = \frac{20 \ln 2}{\ln 4} = \frac{20 \ln 2}{2\ln 2} = 10 \text{ days}

    The decay constant is λ=ln⁡2/10≈0.06931472 day−1\lambda = \ln 2 / 10 \approx 0.06931472\ \text{day}^{-1}. A units check: days times a dimensionless ratio of logarithms gives days.

    Example 2: remaining amount

    A sample starts at 80 mg and has a half-life of 6 hours. How much remains after 15 hours?

    tH=156=2.5,N=80(12)2.5=8022.5=805.656854≈14.14214 mg\frac{t}{H} = \frac{15}{6} = 2.5, \qquad N = 80\left(\tfrac{1}{2}\right)^{2.5} = \frac{80}{2^{2.5}} = \frac{80}{5.656854} \approx 14.14214 \text{ mg}

    That is about 17.68% of the original. The result carries the same unit as the input amount, which the calculator labels as amount units.

    Example 3: initial amount

    A sample has 12.5 g left after 30 days, and its half-life is 10 days. What was the starting mass?

    N0=12.5×230/10=12.5×8=100 gN_0 = 12.5 \times 2^{30/10} = 12.5 \times 8 = 100 \text{ g}

    Example 4: elapsed time

    A sample starts at 100 units and now holds 10 units. The half-life is 5 days. How long has it been decaying?

    t=5ln⁡(100/10)ln⁡2=5ln⁡10ln⁡2≈5×3.321928=16.60964 dayst = \frac{5 \ln(100/10)}{\ln 2} = \frac{5 \ln 10}{\ln 2} \approx 5 \times 3.321928 = 16.60964 \text{ days}

    That is about 3.32 half-lives, which is consistent with 10% remaining, since 2−3.32≈0.12^{-3.32} \approx 0.1.

    Example 5: decay constant and half-life

    For a half-life of 5,730 years:

    λ=ln⁡25730≈1.20968×10−4 year−1\lambda = \frac{\ln 2}{5730} \approx 1.20968 \times 10^{-4}\ \text{year}^{-1}

    Going the other way, a decay constant of 0.02 day−10.02\ \text{day}^{-1} gives:

    H=ln⁡20.02≈34.65736 daysH = \frac{\ln 2}{0.02} \approx 34.65736 \text{ days}

    Use the decay constant modes when you already know one of the two constants and need the other, with no amounts involved.

    Carbon-14 and radioactive isotopes

    For radioactive isotopes, the decaying quantity can be the number of nuclei, the mass of the isotope, or the activity. Activity is proportional to the number of undecayed nuclei. Count rates follow the same exponential law after background correction if detection efficiency stays the same for both measurements. Use the same detector setup and sample position, and enter both measurements in the same unit.

    To determine an isotope's half-life from measurements, record the starting value, the value after a known time, and that time. Enter them in Simple mode. Use the longest accurate time span you can, because a half-life inferred from tiny changes is unreliable (see the sensitivity section below).

    The Carbon-14: 25% after 11460 years preset applies this to carbon-14. Two halvings (100 to 50 to 25) in 11,460 years give a half-life of 5,730 years. You can also use the known carbon-14 half-life in Advanced mode. With a half-life of 5,730 years, an initial amount of 100 and a remaining amount of 60, the elapsed time is:

    t=5730ln⁡(100/60)ln⁡2≈5730×0.736966≈4222.8 yearst = \frac{5730 \ln(100/60)}{\ln 2} \approx 5730 \times 0.736966 \approx 4222.8 \text{ years}

    Treat that as an ideal first-order calculation, not a radiocarbon date. Real radiocarbon dating involves calibration curves, reservoir effects and measurement uncertainty, none of which this calculator includes.

    Reading the results

    Main answer and precision

    The main answer names the selected unknown and its unit. Results are formatted to seven significant digits, with scientific notation for very small or large values. Calculations use full floating-point precision. The displayed digits show the numerical result and do not tell you the accuracy of your measurements. Round the answer to a precision supported by your measurement uncertainty.

    Worked solution

    The Worked solution panel shows the applicable formula, then your numbers substituted into it. Compare it with the examples above to follow each step.

    Successive half-lives table

    The Successive half-lives table lists zero through five half-lives. Row nn shows elapsed time nHnH and remaining amount N0/2nN_0/2^n. For N0=100N_0 = 100 and H=10H = 10 days:

    Half-lives Elapsed time (days) Remaining amount
    0 0 100
    1 10 50
    2 20 25
    3 30 12.5
    4 40 6.25
    5 50 3.125

    After five half-lives, about 3% of the original remains.

    Decay graph

    The interactive graph plots remaining amount against elapsed time. It marks the current input or solved point and reports that point's elapsed time and percent remaining. You can zoom and reset the view. The curve falls steeply at first and flattens as the amount shrinks, but under ideal exponential decay it never reaches zero.

    The two conversion operations (decay constant from half-life, and half-life from decay constant) use a labeled illustration. It starts at 100 amount units and marks 50 after one half-life.

    Copy, print and help

    Copy places a summary on your clipboard that includes the solved quantity and unit. Export opens your browser's print dialog. Help covers modes, units, examples, graph and table interpretation, error messages and utilities.

    Limits and error handling

    Some inputs cannot identify an answer:

    • To infer a half-life, you need t>0t > 0 and 0<N<N00 < N < N_0. Equal amounts cannot identify a finite half-life, and a remaining amount larger than the initial amount would imply growth, not decay.
    • When solving for elapsed time with a known half-life, equal amounts give zero. A remaining amount greater than the initial amount is rejected.
    • Both amount-solving operations allow zero elapsed time. The model then gives equal initial and remaining amounts.
    • A remaining amount of exactly zero is outside the input range. In ideal exponential decay, a positive amount stays positive at every finite time.
    • Extreme cases that produce nonfinite or numerically unrepresentable results receive a range error.

    An invalid input shows a field error and an em dash in place of the answer.

    Small remaining fractions and sensitivity

    When less than 1% remains, a Small remaining fraction note asks you to check measurement precision before interpreting an inferred time or half-life. Exactly 1% does not trigger the note.

    The inferred half-life is highly sensitive when the two amounts are close. Suppose 100 units become 99.9 units in 1 day. The formula gives H≈692.8H \approx 692.8 days. If the second reading is 99.8 units instead, H≈346H \approx 346 days. A 0.1-unit change in one reading cuts the answer roughly in half. The calculator evaluates the logarithm in a numerically stable form for nearly equal amounts, but it cannot remove the effect of measurement error.

    Frequently asked questions

    Does half-life depend on how much material I start with?

    No. In first-order decay, the half-life is constant, and the fraction remaining depends only on t/Ht/H. Starting with 1 g or 1 kg, the time to reach half is the same.

    What is the difference between the decay constant and the half-life?

    Both describe the same decay speed. The decay constant λ\lambda is a proportional rate per unit time, and the half-life HH is the time to lose half. They are linked by λH=ln⁡2\lambda H = \ln 2.

    Why must the time units match?

    The exponent t/Ht/H must be dimensionless, so tt and HH must share a unit. Likewise, λt\lambda t is dimensionless only if λ\lambda uses the reciprocal of tt's unit. The calculator does not convert your numbers when you change the time unit.

    Why does the calculator show an em dash?

    An em dash means the inputs are invalid for the selected operation, for example a remaining amount that is not smaller than the initial amount when solving for half-life. Check the field error beside the input.

    Can I use it for any kind of decay?

    Use it when a single first-order process governs the quantity. It is not suitable for second-order kinetics, for samples replenished from another source, or for decay chains where a product is also radioactive and feeds back into the measured quantity.

    Can I use it to date a sample with carbon-14?

    You can calculate an idealized elapsed time from a fraction remaining and a half-life, as in the example above. A calibrated radiocarbon date requires additional corrections that are outside this calculator.

    Calculation Methodology Documented

    Read the formula definitions, supported input ranges, and limitations before using this estimate.

    Review Methodology
    Debjeet Bhowmick
    Author Debjeet Bhowmick AWS Certified Solutions Architect • Cloud & DevOps Consultant

    AWS Certified Solutions Architect Professional and Senior Cloud & DevOps Consultant with over 14 years of hands-on expertise architecting resilient cloud infrastructure across AWS, GCP, and Azure. Specializes in infrastructure as code, continuous delivery automation, and telemetry across Terraform, Ansible, Docker, Kubernetes, ELK, Python, and SQL. Creator of OrangeCalc, delivering client-side high-precision computational tools.