Take the rate negotiated, for example 5%, divide this by 100 to convert it to a decimal rate, .05, multiply the rate by the purchase price to get the total commission.