# Midpoint formula

The elasticity can be calculated using the midpoint formula:

where is the initial quantity, is the new quantity, is the average quantity, is the new price, is the initial price and is the average price.

The average quantity is calculated:

The average price is also calculated: