Skip to content
Built in Lahore, PakistanHow we check the math
mathbehind

Muhammad Ahmad

Software Engineer · Lahore, Pakistan

I write and maintain every calculator and article on MathBehind. This page says who I am, what I check on each tool before it goes live, and how to reach me if a figure looks wrong.

Background

I’m a software engineer based in Lahore, Pakistan. I’ve been building web applications and small calculators for several years, mostly on the TypeScript and React side. MathBehind grew out of my own frustration with calculator sites that show a number with no formula under it: when a result decides what you charge a client, what you owe HMRC or FBR, or how much a project is worth, “trust the number” isn’t enough. Every tool here shows the formula, the inputs you entered, and the arithmetic between them, so you can see where the answer came from and spot a mistake.

You can confirm who I am through my LinkedIn profile, which is the same person who writes here.

What I check before publishing a tool

Every tool goes through the same checklist before it goes live, and the same checklist again at each scheduled review. The exact source for each category:

  • Tax calculators (UK, US, Pakistan, Australia, Canada, India, UAE, Saudi Arabia, Qatar, Kuwait, New Zealand). The rate bands, personal allowance, National Insurance thresholds and comparable items are read from the authority’s own publication — HMRC rates and allowances for the current tax year, IRS Publication 17 for US figures, the FBR Finance Act for Pakistan, the ATO tax tables for Australia, CRA for Canada, the Income Tax department for India, the UAE FTA and ZATCA publications for the Gulf. The “last checked” date on each tool is the date I actually re-opened that source.
  • Vendor pricing tools (Fiverr, Upwork, Anthropic API, OpenAI, AWS, Apple).Fee percentages and per-token or per-GB prices come from the vendor’s own pricing page. I don’t cite accounting blog summaries. When a vendor changes its pricing, the page is updated the same week, with the change noted in News.
  • Finance and conversion tools. Compound interest, loan amortisation, discount, markup, VAT and sales tax formulas are standard enough that the test is whether the output matches worked examples from textbook or regulator sources. Each tool’s formula is written out on the page.
  • Zakat and religious-finance tools. The nisab and the eligibility rules are stated as published by the National Zakat Foundation and HMRC’s guidance on charitable giving, with the gold and silver thresholds updated against a live market source at review time.

How tools are tested

Every tool has unit tests on its formula: a set of worked inputs and expected results, run on each build. If a change to a rate ever breaks a test, the build fails and the site doesn’t ship. For tax tools, the test cases include at least one example from the authority’s own guidance, so the tool is agreeing with the source rather than just agreeing with itself.

How to reach me

For a wrong result, a missing calculator, or any correction, email contact@mathbehind.com. Include the page address, the inputs you entered, the result you expected, and the official source that supports your number. I read every email myself. Confirmed errors are usually fixed the same day; see the Editorial Policy for the 24-hour correction window and how I handle reports I can’t reproduce.