# Sinking fund calculator

> Split one savings deposit every payday across your sinking funds: what each bucket gets, whether the deposit covers every target date, and when each one gets there. A savings goal calculator for several goals at once, in your browser.

Canonical: https://usetruenote.com/tools/sinking-fund-calculator

A free calculator at https://usetruenote.com/tools/sinking-fund-calculator. It runs in the browser (JavaScript); nothing typed is sent anywhere. The math is Truenote's own fill-what's-due (`packages/domain`), the same rule the app splits a household's real savings deposits by.

## Inputs

- How often you're paid: every week, every 2 weeks, twice a month, once a month
- What goes to savings each payday
- Up to 12 buckets, each filled one of two ways: a target by a month ("Vacation, $3,000 by June 2027") or a set amount a month ("Car, $150"). Each can have what's in it now
- Which bucket gets what's left (the overflow, often Emergencies; it may have a target without a date), or none

It starts with four generic buckets (Emergencies, Vacation, Christmas, Car) so it shows something before anything is typed.

## Output

- **Each bucket's share of every payday:** what it's due this month (a dated target: what's left divided by the months until its month; a set amount: that amount), spread over the month's paydays and rounded up to the dollar. The overflow gets the rest of the deposit.
- **Whether the deposit covers it:** how much short each payday is, and which target dates slip; or how much extra goes to the overflow.
- **When each bucket reaches its target**, deposit by deposit for up to 10 years, as a timeline against its date.
- **A one-line transfer:** "Every 2 weeks: $400 → Emergencies $152 · Vacation $145 · Christmas $33 · Car $70", to copy as text.
- **Deposit by deposit:** the next six deposits split the way the app splits them as they land (each bucket's due this month first, so a month's first payday fills more).

## How it's figured

Fill what's due: every deposit gives each bucket what it's due this month, less what earlier deposits this month gave it, and never more than its target has room for. A month behind catches up on the next deposit. When the deposit can't cover every bucket, it's shared in proportion to what each is due; what's left over goes to the overflow bucket. Paydays fall on Fridays (every week or 2 weeks), the 15th and the last day (twice a month), or the 1st (once a month), starting with the next one.

## Linking to a plan

The plan is the `f` query parameter, so a link reopens it: `https://usetruenote.com/tools/sinking-fund-calculator?f=1.b.40000~Emergencies.250000.1000000...o~Vacation.50000.300000.2027-06..~Car.40000...15000.`. After the version (`1`) come the pay cadence (`w`, `b`, `s`, `m`) and the deposit in cents, then each bucket after a `~`: name (URL-escaped, `.` and `~` too), what's in it now, target (cents), target month, an amount a month (cents), and `o` for the overflow bucket. Empty fields are blank.

## Questions

**What is a sinking fund?** Money set aside a little at a time for a cost you know is coming: a vacation, Christmas, car repairs. Each one is a bucket with its own balance, usually inside one savings account.

**What if the deposit doesn't cover them all?** Each deposit is shared in proportion to what each bucket is due, so the dates slip together. The calculator says which and how much more a payday keeps them.

**Do I need a separate account for each bucket?** No. One savings account and a ledger of what's in each bucket does it.

Related: [Budgeting with buckets instead of categories](https://usetruenote.com/guides/buckets-instead-of-budgets.md). With Truenote, the buckets are kept from a real savings account and every deposit is split as it lands; agents read and move them with `list_buckets` and `move_between_buckets`. Start a trial at https://app.usetruenote.com/sign-in?utm_source=usetruenote.com&utm_medium=markdown&tn_page=sinking-fund&tn_button=end-trial or try the sample household at https://app.usetruenote.com/sign-in?demo=1&utm_source=usetruenote.com&utm_medium=markdown&tn_page=sinking-fund&tn_button=end-demo.
