VWAP is computed by taking the price multiplied by the number of shares traded to get the total dollar amount traded for each transaction, then dividing that amount by the total volume of shares traded over a given period of time.