The national debt counter on our homepage is the single most-watched number on the site, so it's worth explaining exactly how it works.
The US Treasury publishes the exact national debt figure once per business day through its Debt to the Penny dataset. We take that figure — call it the anchor — along with the timestamp it was true as of.
Separately, we track the trailing-year average daily rate of increase, published in federal debt trackers, and convert it into a per-second figure.
From that point forward, the page simply computes anchor + (rate × seconds elapsed) every second. It's not pulling a live number from the Treasury — it's counting forward from the last confirmed number at a pace consistent with how the debt has actually been growing. We refresh the anchor and rate on a quarterly cycle, or sooner if the trend shifts meaningfully.
The Treasury doesn't publish debt figures live, second by second — no government source does, for any of the numbers on this site. A formula-based counter gives a far more honest sense of real-time scale than a number that jumps once a day and sits flat the rest of the time.