Why is my sales tax calculation incorrect on Shopify?

The Shopify calculation is correct. You are calculating 5.3% on the total amount which already includes the tax!