← tanush.techA free tool by Tanush R

Tanush R · Tools

Vice Cost Calculator

What caffeine, alcohol and cigarettes actually cost you. Caffeine still in your system at bedtime, and minutes of life expectancy per drink and per cigarette — from published research, not vibes.

Caffeine in your system

—

Drag a drink's dot along the bottom axis to move it. Drag the BED line to change bedtime. Press or drag across the chart to read any moment.

Tap a dot under the chart to select a drink.
LAST CUP BY —
Total in your system One drink decaying Bedtime target Bedtime Drink — drag to move

Your sleep setup

Caffeine clears by half-life: half is gone every half-life period. The average adult half-life is about 5 hours, but the real range is roughly 1.5 to 9.5 hours.

50 mg

50 mg is the working line used in the chart you shared. Lower it if you are caffeine-sensitive.

5.0 h

Add a drink

Tap a drink to add it at the time below — it lands on the timeline above as a dot you can drag. Coffee, matcha and tea are all here — matcha counts: you drink the whole leaf.

Today's drinks

The same drinks as the dots on the timeline — drag either. Tap a row to highlight that drink's curve.

Still in you at bedtime

0 mg

caffeine remaining when your head hits the pillow.

Under target
0 mg
Total caffeine today
0
Drinks logged
0 mg
Peak level in your system
0%
Of the FDA 400 mg/day reference
Last cup by —

Add a drink to get your personal cutoff.

How to read this

Every drink decays on its own clock — that is each dotted curve: remaining = dose × ½(hours since drink ÷ half-life). The dotted field is all drinks added together, and the blue slice is the selected drink's share of it. Drag a drink earlier and watch the bedtime number fall before you change anything in real life. The model assumes instant absorption — in reality caffeine peaks 30–60 minutes after a drink, so treat early peaks as approximate. Matcha and tea release caffeine more gently (L-theanine smooths the feel), but the milligrams still decay on the same half-life.

Caffeine per drink used here

  • Filter / brewed coffee (240 ml): 95 mg · Espresso (single shot): 63 mg · Cold brew (355 ml): ~150 mg · Instant coffee: ~62 mg
  • Matcha (2 g whisked): ~68 mg · Black tea (240 ml): 47 mg · Masala chai (240 ml): ~50 mg · Green tea (240 ml): 28 mg
  • Energy drink (250 ml): 80 mg · Cola (355 ml): 34 mg · Decaf coffee: ~7 mg

Typical averages compiled from FDA and USDA FoodData Central figures. Your actual cup varies with bean, leaf, dose and brew — edit any drink's mg in the list to match your cup.

Your drinking pattern

Life-expectancy loss from alcohol is about the habit, not one night. The strongest numbers come from Wood et al. (The Lancet, 2018): 599,912 drinkers in 19 countries.

8 / wk

The 100 g line

In Wood et al., all-cause mortality was lowest at 100 g of alcohol per week or less — about 7–8 beers (330 ml). Above it, life expectancy at age 40 fell in steps:

  • 100–200 g/week: about 6 months shorter
  • 200–350 g/week: about 1–2 years shorter
  • Over 350 g/week: about 4–5 years shorter

What this pattern costs

0 g / week

pure alcohol per week at your current pattern.

Lowest-risk band
0 g400 g / week
—
Life expectancy at 40, if this is a lifelong pattern (Wood et al. bands) — this is the headline figure
—
Marginal saving per week if you cut back to the 100 g line (drinks above the line only, 15–30 min each)
—
Marginal saving per year from cutting back to the line
—
Money spent per year at your price
Set your drinks to see the cigarette equivalent.

Two numbers, two different questions — read them apart

The band figure (e.g. “≈ 6 months shorter”) is Wood et al.'s estimate for everyone in that weekly band — the band's study average was ~123 g/week, so it describes the band, not your exact grams. The marginal figure answers a different question: what you save by cutting back to the line. The University of Cambridge summary of Wood et al. puts it pro-rata: above the low-risk level, each drink costs roughly 15–30 minutes of life expectancy — about the same as a cigarette. This calculator applies that range only to drinks above 100 g/week, so just over the line the marginal figure is small while the band figure is not. Both are population models, not a personal clock.

Your smoking pattern

The per-cigarette figure was updated in December 2024 by University College London (Jackson et al., Addiction), using the British Doctors Study and the Million Women Study.

10 / day

The older 2000 BMJ estimate was 11 minutes. With longer follow-up data, UCL's updated estimate is ~20 minutes.

The pack maths

  • 1 cigarette: ~20 minutes of life expectancy
  • 1 pack of 20: ~6 hours 40 minutes — nearly 7 hours
  • 10 a day, quit on 1 Jan: you prevent the loss of a full day of life by 8 Jan (UCL's own example)
  • Lifelong smokers overall: lose about 10 years (men) to 11 years (women) vs non-smokers

What this pattern costs

0 min / day

of life expectancy lost every day at this rate.

—
—
Life lost per year at this rate
—
Life lost over the years smoked so far
—
Money spent per year at your price
—
Life you keep per year if you quit today

Read this the right way

These are population averages for long-term smokers, spread across a lifetime of smoking — not a timer that starts when you light one cigarette. The harm is cumulative, and the same research is clear on the flip side: the sooner you stop, and the more cigarettes you don't smoke, the more life you keep. Quitting at any age recovers a large share of the loss.

Not medical advice. Every number here is a population average from the studies cited below, applied to the pattern you enter. Your personal half-life, risk and life expectancy depend on genetics, health, medicines and more. If you want to cut down or quit, a doctor can help with a plan that actually sticks.
More free tools by Tanush R
See all 50+ tools →
Free, no sign-up. Runs in your browser; if a tool uses an outside service, it says so on the page.