I am trying to create a tiered tax calculator.

The user enters an amount, say `500,000`

From that amount, I then have the following tiers that tax is charged as follows:

```
        0 -   125,000 = 0%
  125,001 -   250,000 = 2%
  250,001 -   925,000 = 5%
  925,001 - 1,500,000 = 10%
1,500,001 -   or more = 12%

```

So no tax on the first `125,000`, then `2%` on the next `124,999` and so on.

I can come up with long winded calculations with far too many lines of code. I am sure there is a relatively simple way to do this, so I am bowing to the greater knowledge of folks here to find a more concise method.