«Tax» → «Calculations Settings» → «Tax Calculation Method Based On»

«Stores» → «Configuration» → «Sales» → «Tax» → «Calculations Settings» → «Tax Calculation Method Based On»:

The setting has 3 options:

  • «Unit Price»
  • «Row Total»
  • «Total»