Step 1: Start from the source
Before any formula gets written, I go to the actual source. For tax calculators that means the IRS publication, the form and its current-year instructions, the Internal Revenue Code section, or the Revenue Procedure that sets the year's inflation-adjusted figures. For non-tax topics it means the federal agency that actually governs the rule: the Department of Labor for FLSA overtime, the SBA for loan programs, the Social Security Administration for self-employment tax, the Federal Reserve or CFPB for lending rules.
I do not start from a blog summary or a tax software company's guidance page. Those are useful for pointing me toward the right primary source, and I will read them to find it, but the citation on the finished page points at the .gov page, not the summary. The reason is simple: summaries get the numbers wrong, get them right but out of context, are themselves working off a stale summary, or drop a condition that changes the answer. The IRS publication is the thing the summary is trying to summarize. I go there.
The MACRS depreciation calculator pulls its percentages from the tables in Appendix A of IRS Publication 946. MACRS stands for Modified Accelerated Cost Recovery System, the depreciation method most business assets use. I opened Pub 946, read the tables, and built the engine to reproduce them. The hard part is the convention, half-year or mid-quarter or mid-month, which decides how much depreciation you get in the first and last year. Get the convention wrong and every year of the schedule shifts. That is why step 2 exists, and why the test suite spends so much time on the boundaries between conventions.