the calculator says Tax is levied upfront on the total lease payment but their are actually levied on total selling price
You’re taxed on the total price of the lease, not the total selling price of the car.
You’re reading it wrong. It’s the total cost of the lease. Here is an example