The revenue is calculated using the sales revenue formula, which multiplies the number of units sold by the average unit price.