To find the total salt in the pizza, you can multiply the amount of salt in one slice by the total number of slices in the pizza. In this case, the total salt in the pizza would be:

2.5g (salt per slice) x 8 slices = 20g

So, the total salt in the pizza is 20 grams.