DEV Community

Tidy Cents profile picture

Tidy Cents

170+ practical digital tools for business, money and everyday life — including apps, spreadsheets, calculators, planners and printables. 30+ free tools.

Location London, UK Joined Joined on  Personal website https://gettidycents.com

Work

Business software for everyday tasks at Tidy Cents

Three-way match with BigInt cents: splitting an invoice difference into quantity and price variance

Three-way match with BigInt cents: splitting an invoice difference into quantity and price variance

Comments
2 min read

Want to connect with Tidy Cents?

Create an account to connect with Tidy Cents. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Sizing a cash buffer from income volatility in JavaScript: sample vs population SD can change the answer

Sizing a cash buffer from income volatility in JavaScript: sample vs population SD can change the answer

Comments
2 min read
Win-back offer break-even with BigInt: 'strictly more' is not the same as ceil()

Win-back offer break-even with BigInt: 'strictly more' is not the same as ceil()

Comments
2 min read
Debt snowball vs avalanche in integer cents: the freed-minimum bug that flatters the snowball

Debt snowball vs avalanche in integer cents: the freed-minimum bug that flatters the snowball

Comments
3 min read
A cost increase in basis points: when to round up, when to round down

A cost increase in basis points: when to round up, when to round down

Comments 1
2 min read
Billable weight in integer grams: round each side, take the higher weight, round again

Billable weight in integer grams: round each side, take the higher weight, round again

Comments
2 min read
A price floor that rounds the right way: why $19.44 is wrong and $19.45 is right

A price floor that rounds the right way: why $19.44 is wrong and $19.45 is right

Comments
2 min read
Net 30 vs Net 60 in integer cents: the cash gap, its yearly cost and the longest safe terms

Net 30 vs Net 60 in integer cents: the cash gap, its yearly cost and the longest safe terms

Comments
2 min read
Cost per usable unit: comparing supplier quotes in Python without assuming 100% yield

Cost per usable unit: comparing supplier quotes in Python without assuming 100% yield

1
Comments 1
2 min read
Two IRS mileage rates in one year: a split-by-date mileage calculator in Python Decimal

Two IRS mileage rates in one year: a split-by-date mileage calculator in Python Decimal

Comments
2 min read
Transferable stock is not on-hand stock: whole packs, safety stock and expiry in a small Python model

Transferable stock is not on-hand stock: whole packs, safety stock and expiry in a small Python model

Comments 1
2 min read
Solo 401(k) limits in Python: Decimal, a reduced plan rate, and why 25% of profit is the wrong answer

Solo 401(k) limits in Python: Decimal, a reduced plan rate, and why 25% of profit is the wrong answer

Comments
2 min read
Marginal vs retroactive commission tiers in Python, and why a return should never rewrite a closed period

Marginal vs retroactive commission tiers in Python, and why a return should never rewrite a closed period

Comments
2 min read
Quarterly estimated tax in Python: self-employment tax, the QBI cap and a 90% safe harbour, all in Decimal

Quarterly estimated tax in Python: self-employment tax, the QBI cap and a 90% safe harbour, all in Decimal

Comments
2 min read
Retail short-pays in Python: reconcile first, audit second, and never count a credit twice

Retail short-pays in Python: reconcile first, audit second, and never count a credit twice

Comments
2 min read
Owner payouts in Python: a cash-safe ceiling, the lower of two limits, and cents that always add up

Owner payouts in Python: a cash-safe ceiling, the lower of two limits, and cents that always add up

Comments
2 min read
IFTA fuel tax in Python: fleet MPG, taxable gallons and credits on one return

IFTA fuel tax in Python: fleet MPG, taxable gallons and credits on one return

Comments
2 min read
Menu engineering in Python: compute the two cutoffs instead of guessing them

Menu engineering in Python: compute the two cutoffs instead of guessing them

Comments
2 min read
Why a flat per-acre price is wrong: a cost-plus pricing curve in Python

Why a flat per-acre price is wrong: a cost-plus pricing curve in Python

Comments
2 min read
Recipe cost per serving with yield and exact unit conversion in Python

Recipe cost per serving with yield and exact unit conversion in Python

Comments
2 min read
Payback month for a new hire with a linear ramp-up, in integer cents

Payback month for a new hire with a linear ramp-up, in integer cents

Comments
2 min read
Minimum deposit and longest payment terms for a big order, with exact fractions in Python

Minimum deposit and longest payment terms for a big order, with exact fractions in Python

Comments
2 min read
Break-even in integer cents: where to round up and where to round down

Break-even in integer cents: where to round up and where to round down

Comments
1 min read
A 13-week cash forecast in 25 lines of Python (integer cents, no spreadsheet)

A 13-week cash forecast in 25 lines of Python (integer cents, no spreadsheet)

Comments
2 min read
Customer concentration in a few lines: top-1, top-3 and HHI without floats

Customer concentration in a few lines: top-1, top-3 and HHI without floats

1
Comments
2 min read
Two floors under revenue: break-even and the reserve floor, in integer cents

Two floors under revenue: break-even and the reserve floor, in integer cents

Comments
2 min read
A collection queue you can explain: stable multi-key sorting for unpaid invoices

A collection queue you can explain: stable multi-key sorting for unpaid invoices

Comments
2 min read
Minimum deposit in integer cents: round the percentage up, never down

Minimum deposit in integer cents: round the percentage up, never down

Comments
2 min read
Idempotent CSV imports: never count the same reimbursement twice

Idempotent CSV imports: never count the same reimbursement twice

Comments
2 min read
Cash conversion cycle in integer cents: turning days into money without float drift

Cash conversion cycle in integer cents: turning days into money without float drift

Comments
2 min read
FEFO vs FIFO in 15 lines: allocating stock by expiry date

FEFO vs FIFO in 15 lines: allocating stock by expiry date

Comments
1 min read
Turning a factor rate into an APR: solving for the rate of a daily payment stream

Turning a factor rate into an APR: solving for the rate of a daily payment stream

Comments
2 min read
Kerf on an integer grid: why 400 + 300 + 293 mm does not fit a 1,000 mm bar

Kerf on an integer grid: why 400 + 300 + 293 mm does not fit a 1,000 mm bar

Comments
1 min read
Reading a reconciliation difference in integer cents: swaps, wrong sides and decimal slips

Reading a reconciliation difference in integer cents: swaps, wrong sides and decimal slips

Comments
2 min read
Checking a payment run day by day: a reserve invariant, early-payment discounts and integer cents

Checking a payment run day by day: a reserve invariant, early-payment discounts and integer cents

1
Comments 1
2 min read
Cash runway in integer cents: gross margin, a reserve line, and months-to-days without drift

Cash runway in integer cents: gross margin, a reserve line, and months-to-days without drift

1
Comments 1
2 min read
A price floor in integer cents: margin on price, ceiling rounding, and the markup trap

A price floor in integer cents: margin on price, ceiling rounding, and the markup trap

Comments
1 min read
Billable time in whole seconds: add first, round once

Billable time in whole seconds: add first, round once

Comments 1
2 min read
Fuel consumption from fill-up records: full-to-full intervals and exact unit conversion

Fuel consumption from fill-up records: full-to-full intervals and exact unit conversion

Comments
2 min read
Break-even in integer cents: ceiling division, and why 1,333 units is the wrong answer

Break-even in integer cents: ceiling division, and why 1,333 units is the wrong answer

Comments
2 min read
Comparing business listings field by field: normalise phone numbers and hours before you diff

Comparing business listings field by field: normalise phone numbers and hours before you diff

Comments
2 min read
Minimum deposit in integer cents: max(0, costs spare cash), and why the percent rounds up

Minimum deposit in integer cents: max(0, costs spare cash), and why the percent rounds up

Comments 1
2 min read
Safety stock with uncertain lead time: the formula, a worked example, and why a sold-out week is not zero demand

Safety stock with uncertain lead time: the formula, a worked example, and why a sold-out week is not zero demand

Comments
2 min read
Net 30 to Net 60 in integer cents: the cash gap, its yearly cost and the longest safe terms

Net 30 to Net 60 in integer cents: the cash gap, its yearly cost and the longest safe terms

Comments
2 min read
Break-even tickets with percentage, per-ticket and per-order fees (integer cents, ceil division)

Break-even tickets with percentage, per-ticket and per-order fees (integer cents, ceil division)

Comments
2 min read
Can the business absorb a supplier price rise? The break-even math in integer cents

Can the business absorb a supplier price rise? The break-even math in integer cents

Comments
2 min read
Why order-level matching fails for payment processor payouts (and what to match instead)

Why order-level matching fails for payment processor payouts (and what to match instead)

Comments
2 min read
Diagnosing a bank reconciliation difference in 30 lines of JavaScript (integer cents, no floats)

Diagnosing a bank reconciliation difference in 30 lines of JavaScript (integer cents, no floats)

Comments
2 min read
A deterministic collection queue for unpaid invoices (no scoring model)

A deterministic collection queue for unpaid invoices (no scoring model)

Comments
2 min read
Scheduling a supplier payment run against a cash reserve: a small search problem

Scheduling a supplier payment run against a cash reserve: a small search problem

Comments
2 min read
Customer concentration in integer cents: share, HHI and runway if one customer leaves

Customer concentration in integer cents: share, HHI and runway if one customer leaves

Comments
2 min read
Prepaid session packages: why 'money received' and 'sessions owed' need separate ledgers

Prepaid session packages: why 'money received' and 'sessions owed' need separate ledgers

Comments
1 min read
Modelling a quote pipeline: one next action per lead, and why 'overdue' must be computed, not stored

Modelling a quote pipeline: one next action per lead, and why 'overdue' must be computed, not stored

Comments
1 min read
Break-even in integer cents: sales, units and margin of safety without float drift

Break-even in integer cents: sales, units and margin of safety without float drift

Comments
2 min read
Auditing a card-processing statement: expected vs billed, without guessing

Auditing a card-processing statement: expected vs billed, without guessing

Comments
1 min read
Profit per booked hour: why the bigger ticket can earn less

Profit per booked hour: why the bigger ticket can earn less

Comments
1 min read
Can you afford a hire? Model the months before it pays off, in integer cents

Can you afford a hire? Model the months before it pays off, in integer cents

Comments
2 min read
Profit per bottleneck minute: a restaurant example

Profit per bottleneck minute: a restaurant example

Comments
1 min read
Comparing sales channels per order, in integer cents

Comparing sales channels per order, in integer cents

Comments
1 min read
Passing on a cost increase: why 8% up is not 8% on your prices

Passing on a cost increase: why 8% up is not 8% on your prices

Comments
1 min read
loading...