Bookmarks    
nPr and nCr    
Random Number    
SD Calculator    
Sample Size    
Percent Error    
Density    
Molarity    
Molar Mass    
Ohm's Law    
Watts to Amps    
Voltage Drop    
Long Division    
Mixed Numbers    
Rounding    
Nth Root    
Exponents    
Half-Life    
Polar Form    
De Moivre    
3D Distance    
Point to Line    
Cross Product    
Determinant    
Sin Cos Tan    
Triangle Area    
Scale Factor    
Sector Area    
Ellipse Area    
Cube Volume    
Box Volume    
Sphere Volume    
Cone Volume    
Pipe Volume    
Time Duration    
Time Card    
Present Value    
Future Value    
Churn Rate    
A/B Test Calc    
SEO Traffic    
Ideal Weight    
Fat Intake    
Child Height    
Golf Handicap    
Heat Index    
Wind Chill    
Dew Point    
Download Time    
kWh to Cost    
AC Size (BTU)    
Heating Costs    
LED Savings    
Trip Gas Cost    
Tire Size    
Solar Output    
Solar Payback    
Battery Size    
Wall Area    
Gravel Needed    
Mortar Mix    
Slope Grade    
Curtain Size    
Soil Needed    
Sod Needed    
Ramp Length    
Blind Size    
Drain Slope    
Board Feet    
Heat Loss    
Furniture Fit    
Moving Boxes    
Plywood Cuts    
Shelf Sag    
   Add
Probability and random number calculators
Independent Events
Independent Events
Two Events Solver
Two Events Solver
Repeated Trials
Repeated Trials
Bayes' Theorem
Bayes' Theorem
Expected Value
Expected Value
Binomial Distribution
Binomial Distribution
nPr and nCr
nPr and nCr
Circular Permutation
Circular Permutation
With Repetition
With Repetition
Random Number
Random Number
Averages and statistics calculators
Average Calculator
Average Calculator
Mean Median Mode
Mean Median Mode
SD Calculator
SD Calculator
Quartiles & IQR
Quartiles & IQR
Frequency Table
Frequency Table
Correlation (r)
Correlation (r)
Normal Probability
Normal Probability
Z-Score Calculator
Z-Score Calculator
Confidence Interval
Confidence Interval
Sample Size
Sample Size
Mark & Recapture
Mark & Recapture
P-Value Calculator
P-Value Calculator
Percentage and ratio calculators
Percentage Calc
Percentage Calc
Percent Change
Percent Change
Percent Difference
Percent Difference
Percent Error
Percent Error
Ratio Calculator
Ratio Calculator
Discount Calculator
Discount Calculator
Sales Tax Calculator
Sales Tax Calculator
Margin Calculator
Margin Calculator
Speed calculators
Speed Calculator
Speed Calculator
Density and concentration calculators
Density
Density
Molarity
Molarity
Molar Mass
Molar Mass
Physics and electricity calculators
Ohm's Law
Ohm's Law
Watts to Amps
Watts to Amps
Resistor Colors
Resistor Colors
Voltage Drop
Voltage Drop
Unit conversion calculators
Weight Converter
Weight Converter
Shoe Size Converter
Shoe Size Converter
Integer and signed number calculators
Long Division
Long Division
LCM Calculator
LCM Calculator
GCF Calculator
GCF Calculator
Integer Calculator
Integer Calculator
Prime Factorization
Prime Factorization
Diophantine Solver
Diophantine Solver
Modulo Calculator
Modulo Calculator
Factor Calculator
Factor Calculator
Roman Numerals
Roman Numerals
Fraction, decimal and rounding calculators
Fraction Calculator
Fraction Calculator
Mixed Numbers
Mixed Numbers
Simplify Fractions
Simplify Fractions
Fraction to Decimal
Fraction to Decimal
Decimal to Fraction
Decimal to Fraction
Rounding
Rounding
Equation and inequality calculators
Linear Equation
Linear Equation
Linear Systems
Linear Systems
Quadratic Formula
Quadratic Formula
Absolute Value
Absolute Value
Quadratic Inequality
Quadratic Inequality
Polynomial calculators
Binomial Theorem
Binomial Theorem
Square root and nth root calculators
Simplify Radicals
Simplify Radicals
Nth Root
Nth Root
Exponent and logarithm calculators
Exponents
Exponents
Log Calculator
Log Calculator
Number of Digits
Number of Digits
Scientific Notation
Scientific Notation
Sci. Notation Math
Sci. Notation Math
Half-Life
Half-Life
Complex number calculators
Complex Numbers
Complex Numbers
Polar Form
Polar Form
De Moivre
De Moivre
Function and graph calculators
Slope Calculator
Slope Calculator
Linear Function
Linear Function
Direct & Inverse Variation
Direct & Inverse Variation
y = ax² Calculator
y = ax² Calculator
Distance Formula
Distance Formula
3D Distance
3D Distance
Section Formula
Section Formula
Point to Line
Point to Line
Lat/Long Distance
Lat/Long Distance
Complete the Square
Complete the Square
Circle Equation
Circle Equation
Conic Sections
Conic Sections
Polar Coordinates
Polar Coordinates
Sequence calculators
Arithmetic Sequence
Arithmetic Sequence
Geometric Sequence
Geometric Sequence
Fibonacci Sequence
Fibonacci Sequence
Recurrence Relation
Recurrence Relation
Vector calculators
Vector Calculator
Vector Calculator
Cross Product
Cross Product
Matrix calculators
Matrix Calculator
Matrix Calculator
Determinant
Determinant
Inverse Matrix
Inverse Matrix
Plane geometry calculators
Sin Cos Tan
Sin Cos Tan
Degrees ⇔ Radians
Degrees ⇔ Radians
a sin θ + b cos θ
a sin θ + b cos θ
Triangle Solver
Triangle Solver
Triangle Area
Triangle Area
Right Triangle
Right Triangle
Pythagorean Theorem
Pythagorean Theorem
Polygon Angles
Polygon Angles
Scale Factor
Scale Factor
Parallel Lines
Parallel Lines
Rectangle Area
Rectangle Area
Parallelogram Area
Parallelogram Area
Trapezoid Area
Trapezoid Area
Circle Calculator
Circle Calculator
Sector Area
Sector Area
Inscribed Angle
Inscribed Angle
Ellipse Area
Ellipse Area
Solid geometry calculators
Cube Volume
Cube Volume
Cube Surface Area
Cube Surface Area
Box Volume
Box Volume
Box Surface Area
Box Surface Area
Cylinder Volume
Cylinder Volume
Cylinder Surface
Cylinder Surface
Sphere Volume
Sphere Volume
Sphere Surface
Sphere Surface
Spherical Cap Volume
Spherical Cap Volume
Cap Surface Area
Cap Surface Area
Ellipsoid Volume
Ellipsoid Volume
Ellipsoid Surface
Ellipsoid Surface
Pyramid Volume
Pyramid Volume
Pyramid Surface
Pyramid Surface
Cone Volume
Cone Volume
Cone Surface Area
Cone Surface Area
Frustum Volume
Frustum Volume
Frustum Surface Area
Frustum Surface Area
Pipe Volume
Pipe Volume
Capsule Volume
Capsule Volume
Capsule Surface Area
Capsule Surface Area
Date and time calculators
Age Calculator
Age Calculator
Days Between Dates
Days Between Dates
Date Calculator
Date Calculator
Hours From Now
Hours From Now
Day of the Week
Day of the Week
Time Calculator
Time Calculator
Time Zone Converter
Time Zone Converter
Hours Calculator
Hours Calculator
Time Duration
Time Duration
Time Card
Time Card
Finance and economics calculators
Compound Interest
Compound Interest
Simple Interest
Simple Interest
Interest Calculator
Interest Calculator
TVM Calculator
TVM Calculator
Present Value
Present Value
Future Value
Future Value
ROI Calculator
ROI Calculator
IRR Calculator
IRR Calculator
Payback Period
Payback Period
Average Return
Average Return
GDP Calculator
GDP Calculator
Web marketing and ad metric calculators
CTR Calculator
CTR Calculator
Conversion Rate
Conversion Rate
CPC, CPM & CPA
CPC, CPM & CPA
ROAS Calculator
ROAS Calculator
Break-Even CPA
Break-Even CPA
LTV Calculator
LTV Calculator
CAC Calculator
CAC Calculator
Churn Rate
Churn Rate
A/B Test Calc
A/B Test Calc
A/B Sample Size
A/B Sample Size
SEO Traffic
SEO Traffic
Break-Even Point
Break-Even Point
Markup vs. Margin
Markup vs. Margin
CAGR Calculator
CAGR Calculator
Health and fitness calculators
BMI Calculator
BMI Calculator
Sleep Calculator
Sleep Calculator
Calorie Calculator
Calorie Calculator
BMR Calculator
BMR Calculator
TDEE Calculator
TDEE Calculator
Ideal Weight
Ideal Weight
Body Fat Calculator
Body Fat Calculator
Lean Body Mass
Lean Body Mass
Calories Burned
Calories Burned
Protein Intake
Protein Intake
Macro Calculator
Macro Calculator
Carb Calculator
Carb Calculator
Fat Intake
Fat Intake
Child Height
Child Height
Sports calculators
Golf Handicap
Golf Handicap
Pace Calculator
Pace Calculator
1RM Calculator
1RM Calculator
Target Heart Rate
Target Heart Rate
Weather calculators
Heat Index
Heat Index
Wind Chill
Wind Chill
Dew Point
Dew Point
Computer calculators
Base Converter
Base Converter
Subnet Calculator
Subnet Calculator
Download Time
Download Time
Household energy and budget calculators
Electricity Cost
Electricity Cost
kWh to Cost
kWh to Cost
Yearly kWh to Cost
Yearly kWh to Cost
AC Size (BTU)
AC Size (BTU)
AC Running Cost
AC Running Cost
Heating Costs
Heating Costs
Gas vs Electric
Gas vs Electric
LED Savings
LED Savings
Salary Calculator
Salary Calculator
Budget Calculator
Budget Calculator
Car calculators
Trip Gas Cost
Trip Gas Cost
EV Charging Cost
EV Charging Cost
EV vs Gas Cost
EV vs Gas Cost
MPG Calculator
MPG Calculator
Tire Size
Tire Size
Solar power and battery calculators
Solar Output
Solar Output
Solar Panel Count
Solar Panel Count
Solar Payback
Solar Payback
Battery Size
Battery Size
Home and DIY calculators
Tile Calculator
Tile Calculator
Stair Calculator
Stair Calculator
Concrete Volume
Concrete Volume
Wall Area
Wall Area
Wallpaper Rolls
Wallpaper Rolls
Paint Calculator
Paint Calculator
Flooring Needed
Flooring Needed
Exterior Walls
Exterior Walls
Gravel Needed
Gravel Needed
Mortar Mix
Mortar Mix
Slope Grade
Slope Grade
Lumber Cut List
Lumber Cut List
Lot Coverage/FAR
Lot Coverage/FAR
Sheet Vinyl Roll
Sheet Vinyl Roll
Insulation Needed
Insulation Needed
Curtain Size
Curtain Size
TV Size & Distance
TV Size & Distance
Soil Needed
Soil Needed
Sod Needed
Sod Needed
Block Calculator
Block Calculator
Brick Calculator
Brick Calculator
Deck Materials
Deck Materials
Ramp Length
Ramp Length
Pilot Hole Size
Pilot Hole Size
Room Ventilation
Room Ventilation
Paint Thinning
Paint Thinning
Baseboard & Trim
Baseboard & Trim
Blind Size
Blind Size
Picture Hanging
Picture Hanging
Drain Slope
Drain Slope
Screw Calculator
Screw Calculator
Board Feet
Board Feet
Fence Calculator
Fence Calculator
Wood Shrinkage
Wood Shrinkage
Caulk Calculator
Caulk Calculator
Heat Loss
Heat Loss
Furniture Fit
Furniture Fit
Moving Boxes
Moving Boxes
Storage Capacity
Storage Capacity
Plywood Cuts
Plywood Cuts
Shelf Sag
Shelf Sag

Half-Life Calculator (Initial Amount, Remaining Amount, Time, Half-Life)

Enter the three you know out of the initial quantity N₀, remaining quantity N(t), elapsed time t and half-life t½. The one left blank is calculated, along with the decay constant λ and the mean lifetime τ. The equation below is linked to the fields, so you can also type the numbers right into it.

Leave only the field you want to find blank (fill in exactly three). All values are numbers greater than 0. Any units are fine, but use the same unit for both time fields and for both quantity fields (for example, years for both times). The remaining quantity must be smaller than the initial quantity.
Result and graph
Fill in three of the fields on the left and press "Calculate". The result and a graph will appear here.

What you can do on this page

  • Enter three of the initial quantity \(N_0\), the remaining quantity \(N(t)\), the elapsed time \(t\) and the half-life \(t_{1/2}\), and the one left blank is calculated
  • The decay constant \(\lambda\) and the mean lifetime \(\tau\) are shown at the same time
  • A graph with a marker at each half-life shows how the quantity keeps halving (exponential decay)
  • A plain-language explanation of the formulas and copy-and-paste formulas for Excel, Google Sheets and Python are all on this page
This works for quantities that drop by the same fraction over each equal stretch of time (exponential decay). Radioactive decay is the classic example, and the same formula is used to model drug levels in the blood. Any units are fine, but use the same unit for the two time fields (elapsed time and half-life) and for the two quantity fields (initial and remaining quantity).

What is this calculation used for?

Carbon-14 dating (archaeology)

Living things take in radioactive carbon-14. After death, the intake stops, and the carbon-14 decreases with a half-life of about 5730 years. If a piece of wood from an ancient site has 25% of the carbon-14 it had when alive, it is estimated to be \(5730 \times \ln 4 \div \ln 2 = 11460\) years old (2 half-lives).
Many of the "thousands of years ago" dates for ancient sites and artifacts in textbooks are based on this calculation.

Estimating how medical radioisotopes decrease (a medical example)

Technetium-99m, used in hospital nuclear medicine scans, has a half-life of about 6 hours. As an example, 24 hours after a scan it has dropped to \((1/2)^{24/6} = (1/2)^4 = 1/16\), which is 6.25%.
Short half-life isotopes are chosen in medicine because they decrease quickly in the body like this (in reality the body also clears them, so safety is judged by the standards of expert agencies).

How long medicines and caffeine stay in the body

How fast a drug leaves the blood is also described by its half-life. For example, if caffeine has a half-life of 4 hours, the caffeine in about two cups of coffee (200 mg) drops to \(200 \times (1/2)^{3} = 25\) mg after 12 hours.
Half-lives vary a lot from person to person, and decisions about medicine should follow your doctor or pharmacist. Still, the numbers show why coffee late in the day can affect your sleep.

Reading news about radioactive materials (emergency preparedness)

Iodine-131, which often appears in news about nuclear accidents, has a half-life of about 8 days. After 80 days (10 half-lives) it drops to \((1/2)^{10} = 1/1024\), about 0.1%. Cesium-137, with a half-life of about 30 years, still has \(1/8\) (12.5%) left after 90 years.
Once you see that "short half-life = fades quickly, long half-life = stays a long time", you can check the numbers in the news yourself.

Estimating how long radioactive waste must be managed

For radioactive waste from nuclear power and other sources, how long it must be isolated and managed is planned from the half-lives of the isotopes it contains. For example, this formula shows that cesium-137, with a 30-year half-life, needs about 10 half-lives (about 300 years) to drop to nearly 1/1000.
The same calculation as on this page is the basis of management plans that span many generations.

Formulas and graphs

Formula for the remaining quantity (the basic half-life formula)
Graph
Standard notation (the usual math form)
\(N(t)\) \(=\) \(N_0\) \(\times\) \(\left(\dfrac{1}{2}\right)\) \(t / t_{1/2}\)
In words (symbols replaced with words)
④ \(N(t)\): quantity left after time \(t\) \(=\) ① \(N_0\): initial quantity \(\times\) ② \(\dfrac{1}{2}\): half ③ \(t / t_{1/2}\): elapsed time ÷ half-life
The formula in words
① Multiply the \(N_0\): initial quantity
② by \(\dfrac{1}{2}\): half
③ over and over, as many times as \(t / t_{1/2}\): elapsed time ÷ half-life (the number of half-lives in the elapsed time)
④ and you get the \(N(t)\): remaining quantity
Quick example
If there are 8 mg of a drug with a half-life of 2 days in the body, the amount left after 6 days (6 days ÷ 2 days = halved 3 times) is
amount left after 6 days \(N(t)\) \(=\) initial quantity (8 mg) \(\times\) half \(\dfrac{1}{2}\) 6 days ÷ 2 days (3 times)
\(8 \times \left(\dfrac{1}{2}\right)^{3} = 8 \times \dfrac{1}{8} = 1\)
Key idea
The exponent at the upper right, \(t / t_{1/2}\), is "how many half-lives fit into the elapsed time", that is, the number of times the quantity halves. With 6 days ÷ 2 days = 3, it halves 3 times: 8 mg → 4 mg → 2 mg → 1 mg. Even when the count is not a whole number (for example, 2.5 half-lives), the extended idea of exponents lets you use this formula as is.
Formula for the half-life
Graph
Standard notation (the usual math form)
\(t_{1/2}\) \(=\) \(t\) \(\times\) \(\ln 2\) \(\div\) \(\ln\left(\dfrac{N_0}{N(t)}\right)\)
In words (symbols replaced with words)
④ \(t_{1/2}\): half-life \(=\) ① \(t\): elapsed time \(\times\) ② \(\ln 2\): natural log of 2 (about 0.693) \(\div\) ③ \(\ln(N_0 / N(t))\): natural log of "initial ÷ remaining"
The formula in words
① Multiply the \(t\): elapsed time
② by the \(\ln 2\): natural log of 2 (about 0.693) , then divide by the
③ \(\ln(N_0 / N(t))\): natural log of "initial ÷ remaining"
④ and you get the \(t_{1/2}\): half-life
Quick example
If 100 g of a substance drops to 25 g in 10 years, its half-life is
half-life \(t_{1/2}\) \(=\) elapsed time (10 years) \(\times\) \(\ln 2\) (about 0.693) \(\div\) \(\ln(100 \div 25)\) (about 1.386)
\(\ln(100 \div 25) = \ln 4 \approx 1.386\)
\(t_{1/2} = 10 \times 0.693 \div 1.386 = 5\)
Key idea
The part \(\ln 2 \div \ln(N_0 / N(t))\) is actually 1 over "the number of times it halved". 100 g → 25 g is a drop by a factor of \(100 \div 25 = 4\), which is 2 halvings, so the half-life is 10 years ÷ 2 = 5 years. The formula uses logarithms to count how many times it halved.
Formula for the decay constant
Standard notation (the usual math form)
\(\lambda\) \(=\) \(\ln 2\) \(\div\) \(t_{1/2}\)
In words (symbols replaced with words)
③ \(\lambda\): decay constant \(=\) ① \(\ln 2\): natural log of 2 (about 0.693) \(\div\) ② \(t_{1/2}\): half-life
The formula in words
① Take the \(\ln 2\): natural log of 2 (about 0.693)
② divide it by the \(t_{1/2}\): half-life
③ and you get the \(\lambda\): decay constant
Quick example
The decay constant of a substance with a 5-year half-life is
decay constant \(\lambda\) \(=\) \(\ln 2\) (about 0.693) \(\div\) half-life (5 years)
\(\lambda = 0.693 \div 5 \approx 0.139\)
Key idea
The decay constant \(\lambda\) tells what fraction of the quantity still left decays per very short unit of time. The shorter the half-life, the larger \(\lambda\) (faster decay); the longer the half-life, the smaller \(\lambda\) (slower decay).
Formula for the mean lifetime
Standard notation (the usual math form)
\(\tau\) \(=\) \(t_{1/2}\) \(\div\) \(\ln 2\)
In words (symbols replaced with words)
③ \(\tau\): mean lifetime \(=\) ① \(t_{1/2}\): half-life \(\div\) ② \(\ln 2\): natural log of 2 (about 0.693)
The formula in words
① Take the \(t_{1/2}\): half-life
② divide it by the \(\ln 2\): natural log of 2 (about 0.693)
③ and you get the \(\tau\): mean lifetime
Quick example
The mean lifetime of a substance with a 5-year half-life is
mean lifetime \(\tau\) \(=\) half-life (5 years) \(\div\) \(\ln 2\) (about 0.693)
\(\tau = 5 \div \ln 2 \approx 7.213\)
Key idea
The mean lifetime \(\tau\) is the time until one atom decays, averaged over all the atoms. It is also the reciprocal of the decay constant (\(\tau = 1 / \lambda\)). It is a bit longer than the half-life, about 1.44 times, because "long-lived" atoms that take a long time to decay pull the average up.
Half-life calculations start from one idea, "elapsed time ÷ half-life = number of halvings". The remaining quantity is the initial quantity multiplied by \(\dfrac{1}{2}\) that many times. To find the half-life, you count the number of halvings with a logarithm.

Symbols and terms

Symbols

\(N_0\) N naught (N zero) The initial quantity, the amount at the moment you start counting time (\(t = 0\)). (Example - if there are 100 g at first, \(N_0 = 100\))
\(N(t)\) N of t The remaining quantity, the amount left after time \(t\) has passed. It is written this way because it is a function of \(t\) (its value depends on \(t\)).
\(t\) t The elapsed time, the time it took to drop from the initial to the remaining quantity. Use the same unit as the half-life.
\(t_{1/2}\) t one-half (half-life) The half-life, the time it takes for the quantity to fall to exactly half. Each substance has its own value, and it is the same no matter when you start measuring.
\(\lambda\) lambda The decay constant, the fraction that decays per very short unit of time. It is found by \(\lambda = \ln 2 \div t_{1/2}\).
\(\tau\) tau The mean lifetime, the average time until one atom decays. It is found by \(\tau = 1 \div \lambda = t_{1/2} \div \ln 2\).
\(\ln x\) natural log of x The natural logarithm, the logarithm with base \(e\) (about 2.718). It tells "\(e\) to what power gives \(x\)". On a scientific calculator use the ln key, and in Excel the LN function.

Terms

half-life The time it takes for a quantity to fall to exactly half. For a radioactive substance it is the time for the number of atoms (the strength of the radioactivity) to halve, and for a drug the time for its blood level to halve. The quantity keeps halving over each equal stretch of time (half, a quarter, an eighth, and so on).
exponential decay Decrease at a rate proportional to the amount still left. It is fast at first and slows down as less remains. Only quantities that decrease this way have a constant half-life.
radioactive decay The process in which an unstable nucleus gives off radiation and turns into a different nucleus. When each single atom decays is random, but a large number of atoms decreases steadily according to the half-life.
decay constant A constant that tells what fraction of the remaining atoms decays per very short unit of time. It goes hand in hand with the half-life; if you know one, you can calculate the other.
mean lifetime The time until one atom decays, averaged over many atoms. It is about 1.44 times the half-life.
natural logarithm (natural log) The logarithm with base \(e\) (about 2.718, Euler's number). It suits calculations about rates of growth and decay, and appears in the formulas for the half-life and the decay constant.
exponent A number that tells how many times to multiply the same number, like the 3 at the upper right of \(2^3\). In the half-life formula, the number of halvings \(t / t_{1/2}\) is the exponent.

Good to know before you start

Here is what helps you use the calculation on this page with real understanding, not just by pressing the button.

Fractions and repeated halving (Grades 4–5)
  • Having a feel for shrinking by the same fraction again and again, as in "half of a half is a quarter, and half of that is an eighth"
Powers and exponents (Grade 6)
  • Knowing that "to the \(n\)th power" stands for multiplying the same number \(n\) times, as in \(\left(\dfrac{1}{2}\right)^3 = \dfrac{1}{2} \times \dfrac{1}{2} \times \dfrac{1}{2}\)
  • Knowing that multiplying by a number less than 1 makes the value smaller each time
Extending exponents (Algebra 2)
  • Knowing that powers also make sense when the exponent is not a whole number, as in \(2^{1.5}\) (used for things like "2.5 half-lives")
Logarithms (Algebra 2)
  • Knowing that a logarithm finds "what power gives the number" (used in the half-life formula to count how many times it halved)
  • Knowing that the natural logarithm \(\ln\) is the logarithm with base \(e\) (about 2.718)

How to calculate it in Excel

Copy the whole table below and paste it into cell A1 in Excel. It works as is.
Table to find the remaining quantity
Initial quantity N0 100
Elapsed time t 10
Half-life t1/2 5
Remaining quantity N(t) =B1*POWER(1/2,B2/B3)
Table to find the half-life
Initial quantity N0 100
Remaining quantity N(t) 25
Elapsed time t 10
Half-life t1/2 =B3*LN(2)/LN(B1/B2)
Table to find the elapsed time
Initial quantity N0 100
Remaining quantity N(t) 25
Half-life t1/2 5
Elapsed time t =B3*LN(B1/B2)/LN(2)
Table to find the decay constant and mean lifetime
Half-life t1/2 5
Decay constant λ =LN(2)/B1
Mean lifetime τ =B1/LN(2)
After pasting, the upper rows in column B are your inputs, and the last row shows the result calculated automatically.
"POWER(1/2, B2/B3)" is the power function that multiplies by 1/2 (elapsed time ÷ half-life) times, and "LN" gives the natural logarithm (ln).
For example, B4 shows 25 in the first table (100 g becomes 25 g in 10 years) and 5 in the second table (a 5-year half-life). Just replace the numbers in column B with your own.

How to calculate it in Google Sheets

Copy the whole table below and paste it into cell A1 in Google Sheets. It works as is.
Table to find the remaining quantity
Initial quantity N0 100
Elapsed time t 10
Half-life t1/2 5
Remaining quantity N(t) =B1*POWER(1/2,B2/B3)
Table to find the half-life
Initial quantity N0 100
Remaining quantity N(t) 25
Elapsed time t 10
Half-life t1/2 =B3*LN(2)/LN(B1/B2)
Table to find the elapsed time
Initial quantity N0 100
Remaining quantity N(t) 25
Half-life t1/2 5
Elapsed time t =B3*LN(B1/B2)/LN(2)
Table to find the decay constant and mean lifetime
Half-life t1/2 5
Decay constant λ =LN(2)/B1
Mean lifetime τ =B1/LN(2)
The same formulas as in Excel (POWER and LN) work in Google Sheets as is. Copy the whole table, paste it into cell A1, and replace the numbers in column B with your own.

How to calculate it in Python

import math

initial_quantity = 100.0    # initial quantity N0
remaining_quantity = 25.0   # remaining quantity N(t)
elapsed_time = 10.0         # elapsed time t

# half-life t1/2 = t × ln2 ÷ ln(N0 ÷ N(t))
half_life = elapsed_time * math.log(2) / math.log(initial_quantity / remaining_quantity)
decay_constant = math.log(2) / half_life   # decay constant λ
mean_lifetime = half_life / math.log(2)    # mean lifetime τ

print(f"Half-life: {half_life}")
print(f"Decay constant: {decay_constant}")
print(f"Mean lifetime: {mean_lifetime}")

# Check: remaining quantity N(t) = N0 × (1/2)^(t/t1/2)
remaining = initial_quantity * 0.5 ** (elapsed_time / half_life)
print(f"Check (remaining quantity): {remaining}")
Runs with only the math module from the standard library. math.log() is the natural logarithm (ln), and "**" is the power operator. In this example, the half-life is 5.0, the decay constant is about 0.1386, the mean lifetime is about 7.213, and the check gives a remaining quantity of 25.0. Change the three values at the top and run it.

How to write it in LaTeX and other math languages (copy and paste)

Formula for the remaining quantity (the basic half-life formula)
N(t) = N₀ × (1/2)^(t/t½)
N(t) = N_0 \left(\frac{1}{2}\right)^{t/t_{1/2}}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>N</mi><mo>(</mo><mi>t</mi><mo>)</mo>
    <mo>=</mo>
    <msub><mi>N</mi><mn>0</mn></msub>
    <msup>
      <mrow><mo>(</mo><mfrac><mn>1</mn><mn>2</mn></mfrac><mo>)</mo></mrow>
      <mrow><mi>t</mi><mo>/</mo><msub><mi>t</mi><mrow><mn>1</mn><mo>/</mo><mn>2</mn></mrow></msub></mrow>
    </msup>
  </mrow>
</math>
N(t) = N_0 (1/2)^(t/t_(1/2))
n0*(1/2)^(t/thalf)
Nt := n0*(1/2)^(t/thalf);
Nt = n0*(1/2)^(t/thalf);
N(t) = N_0 (1/2)^(t/t_(1/2))
Formula for the half-life
t½ = t × ln 2 ÷ ln(N₀/N(t))
t_{1/2} = \dfrac{t \ln 2}{\ln(N_0 / N(t))}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <msub><mi>t</mi><mrow><mn>1</mn><mo>/</mo><mn>2</mn></mrow></msub>
    <mo>=</mo>
    <mfrac>
      <mrow><mi>t</mi><mo>&#x2062;</mo><mi>ln</mi><mo>&#x2061;</mo><mn>2</mn></mrow>
      <mrow><mi>ln</mi><mo>&#x2061;</mo><mo>(</mo><msub><mi>N</mi><mn>0</mn></msub><mo>/</mo><mi>N</mi><mo>(</mo><mi>t</mi><mo>)</mo><mo>)</mo></mrow>
    </mfrac>
  </mrow>
</math>
t_(1/2) = (t ln 2)/(ln(N_0//N(t)))
t*Log[2]/Log[n0/nt]
thalf := t*ln(2)/ln(n0/nt);
thalf = t*log(2)/log(n0/nt);
t_(1/2) = t ln(2)/ln(N_0/N(t))
Formula for the decay constant
λ = ln 2 ÷ t½
\lambda = \dfrac{\ln 2}{t_{1/2}}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>&#x3BB;</mi>
    <mo>=</mo>
    <mfrac>
      <mrow><mi>ln</mi><mo>&#x2061;</mo><mn>2</mn></mrow>
      <msub><mi>t</mi><mrow><mn>1</mn><mo>/</mo><mn>2</mn></mrow></msub>
    </mfrac>
  </mrow>
</math>
lambda = (ln 2)/t_(1/2)
Log[2]/thalf
lambda := ln(2)/thalf;
lambda = log(2)/thalf;
λ = ln(2)/t_(1/2)
Formula for the mean lifetime
τ = t½ ÷ ln 2
\tau = \dfrac{1}{\lambda} = \dfrac{t_{1/2}}{\ln 2}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>&#x3C4;</mi>
    <mo>=</mo>
    <mfrac>
      <msub><mi>t</mi><mrow><mn>1</mn><mo>/</mo><mn>2</mn></mrow></msub>
      <mrow><mi>ln</mi><mo>&#x2061;</mo><mn>2</mn></mrow>
    </mfrac>
  </mrow>
</math>
tau = t_(1/2)/(ln 2)
thalf/Log[2]
tau := thalf/ln(2);
tau = thalf/log(2);
τ = t_(1/2)/ln(2)

How to have ChatGPT  do the calculation

You are a calculation assistant for half-life problems. Do the following calculations by actually running Python code, and base your answer only on the numbers from the execution result (do not answer by mental math or guessing).

A radioactive substance starts at 100 g and has dropped to 25 g after 10 years.
Assume it follows exponential decay, N(t) = N0 × (1/2)^(t / half-life).
Find each of the following:
1. The half-life of this substance
2. The decay constant λ (= ln2 ÷ half-life)
3. The mean lifetime τ (= half-life ÷ ln2)
4. The amount left 20 years after the start

Show the formulas you used and the numbers from the execution result.

How to Use
  1. 1
    Enter your numbers
    Type the numbers you want to calculate with into the input fields
  2. 2
    Calculate
    Press the "Calculate" button
  3. 3
    Check the result
    The result appears on the spot. The same page also explains the idea behind the calculation and the formula
  DataChef Features
Easy and Free
Unlimited conversions for free.
No technical knowledge required.
Intuitive and user-friendly operation.
No Registration Required
Available immediately after access.
Can be used without registering personal information.
Safe and Secure
Fully SSL encrypted communication.
Automatic file deletion by clicking "download".
Fast
High-speed site access
and rapid file conversion.
No Watermark
No watermark.
No attribution required.
Commercial Use Available
Free for commercial use.
No need to contact us for commercial use permission.