Skip to content
Omnikalc

Drug half-life calculator: how much is left and when it is gone

Enter a dose, the half-life of the substance and the time elapsed to see how much remains in the body and how long elimination takes.

Updated on
Your inputs
mg

Value out of range

Value out of range

Value out of range

Results

Amount remaining

50.0 mg

Time to near elimination (5 half-lives, 3% left)

25.0

Share remaining
25.0%
Half-lives elapsed
2.00
Time to fall below 10%
16.6
Elimination rate constant k
0.1386 per hour

Amount remaining over time

Amount remainingShare remaining
1 h current174.187.1%
2 h current151.675.8%
5 h current100.050.0%
10 h current50.025.0%
15 h current25.012.5%
20 h current12.56.3%
25 h current6.33.1%

This calculator gives general estimates for information only. It does not replace advice from your doctor, pharmacist or another qualified health professional.

What half-life means

The elimination half-life of a drug is the time it takes for its concentration in the blood to fall by half. After one half-life, 50% remains; after two, 25%; after three, 12.5%, and so on. Most drugs follow this first-order, exponential pattern, because the body clears a fixed fraction rather than a fixed amount per hour. Half-lives range from minutes (adrenaline) to hours (caffeine, ibuprofen) and days (some antidepressants).

The formulas

  • Amount remaining = initial dose × 0.5^(time ÷ half-life)
  • Number of half-lives = time ÷ half-life
  • Time to reach a fraction f = half-life × log₂(1 ÷ f); below 10% takes 3.32 half-lives
  • Elimination constant k = ln 2 ÷ half-life
  • Rule of thumb: after 5 half-lives, about 3% remains, and the drug is considered practically eliminated.

Worked example: 200 mg of caffeine, half-life 5 hours

  1. After 10 hours, 2 half-lives have passed: 200 × 0.5² = 50 mg remain, 25% of the dose.
  2. It takes 5 × 3.32 = 16.6 hours to fall below 20 mg (10%).
  3. After 5 half-lives, or 25 hours, about 6 mg remain.
  4. The elimination constant is 0.693 ÷ 5 = 0.1386 per hour: about 13% of the caffeine present is cleared each hour.

A coffee at 4 p.m. still leaves a quarter of its caffeine in your body at 2 a.m., which is why afternoon coffee can disturb sleep.

Amount remaining over time (200 mg, half-life 5 h)

Time Remaining Share
1 h 174.1 mg 87.1%
5 h 100.0 mg 50.0%
10 h 50.0 mg 25.0%
15 h 25.0 mg 12.5%
20 h 12.5 mg 6.3%
25 h 6.3 mg 3.1%

Repeated doses and steady state

When you take a drug regularly, each dose adds to what remains from the previous ones. The level rises until intake and elimination balance: this steady state is reached after about 4 to 5 half-lives, whatever the dose. It explains why some medicines take a week or more to work fully, and why their effects take as long to wear off after stopping.

What changes the half-life

  • Liver and kidney function: reduced function lengthens the half-life of drugs they clear, which may require a lower dose.
  • Age: older adults often eliminate drugs more slowly.
  • Pregnancy, smoking and other medicines: smoking speeds up caffeine clearance, while pregnancy and some drugs slow it down a lot.

Published half-lives are averages; individual values can be half or double. Never change a dosing schedule based on this calculator alone.

Frequently asked questions

How long does it take for a drug to leave your body?

About 5 half-lives, when roughly 3% of the dose remains. A drug with a 6 hour half-life is practically gone after 30 hours.

How do you calculate the amount of drug remaining?

Multiply the dose by 0.5 raised to the number of half-lives elapsed: 200 mg after 2 half-lives leaves 200 × 0.25 = 50 mg.

What is the half-life of caffeine?

About 5 hours in a healthy adult, with a range of roughly 2 to 10 hours. It is shorter in smokers and much longer during pregnancy.

What is steady state?

The level reached when a drug is taken regularly and intake equals elimination. It takes about 4 to 5 half-lives to get there.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.