{
  "id": 22240590,
  "title": "Cash runway in integer cents: gross margin, a reserve line, and months-to-days without drift",
  "url": "https://urgent.news/2026/11/27/cash-runway-in-integer-cents-gross-margin-a-reserve-line-and-months",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T21:45:59.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/tidycents/cash-runway-in-integer-cents-gross-margin-a-reserve-line-and-months-to-days-without-drift-3l0k"
  },
  "original_language": "en",
  "account": "A calculator for measuring how long a business can operate before running out of cash relies on three key decisions. When sales decline, the direct costs linked to those lost sales also decrease. Fixed expenses, such as payroll, rent, loans, and owner pay, remain constant. The monthly cash outcome is calculated by multiplying sales by the gross margin in basis points, then subtracting other outflows.\n\nThe formula uses integer cents for money and basis points for margin. Gross profit is determined by multiplying sales by margin, dividing by 10,000. To ensure a conservative estimate, truncating toward zero is recommended for gross profit. The reserve line is subtracted from the available cash to determine spendable funds. If spendable funds equal zero, the business is already below the reserve line.\n\nStress should be placed on the sales line rather than total costs when evaluating the impact of sales drops. For example, a 20% sales drop results in a monthly cash shortfall of -340,000 (approximately 12.4 months of runway). If there are no sales at all, the shortfall is -2,100,000 (exactly 2 months of runway).\n\nTo convert the runway from months to days, the ratio is kept exact, and rounding is performed once, rounding down to ensure a full day of safety. Two months of runway translates to 60 days. When testing the boundary case where loss equals spendable funds, the result should be one month and 30 days. The Cash Runway Calculator utilizes this methodology, accounting for the reserve and rounding to zero.",
  "summary": "A runway calculator looks like one division. For an operating business it is three decisions about what to divide, and one about how to round. Work from gross margin, not total cost When sales fall, the direct costs of the lost sales fall too. Fixed outflows do not. So the monthly cash result is: // money in integer cents, margin in basis points const sales = 4_000_000n ; // $40,000.00 const…",
  "summary_source": "publisher",
  "key_points": [
    "Cash runway calculated using sales, gross margin, and fixed expenses",
    "Gross margin expressed in integer cents, basis points for calculation",
    "Runway converted from months to days with rounding down for safety"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}