Calculated as a percentage of the total value of all Items within a Section on a Quote with the selected Item Category. It is not possible to calculate the percentage based off multiple Item Categories.
If you would like the calculation to apply to all Items of a selected Category, you can create a Quote that has no Sections.