Multiply taxable value with applicable sales tax rate. For example, if you are selling any product or service for $100, then you can calculate sales tax by multiplying 100$ with sales tax rate. In Pennsylvania, average sales tax rate is 6.1363. Multiply sell value with 6.1363 to get tax amount.
Further, you should check tax rates applicable in each county to arrive at correct calculation. Each county has separate sales tax rate along with state and city tax rates.