terican

Last verified · v1.0

Calculator · business

Optimal Price Calculator

Calculate the profit-maximizing price using linear demand and marginal cost. Find optimal price, quantity, and maximum profit instantly.

FreeInstantNo signupOpen source

Inputs

Optimal Selling Price

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Optimal Selling Price

The formula

How the
result is
computed.

What Is the Optimal Price?

The optimal price — also called the profit-maximizing price — is the price at which a seller generates the greatest possible profit given a known demand curve and cost structure. Under a linear demand model, this price sits exactly halfway between the market choke price and the marginal cost of production, a result that follows directly from the mathematical condition of setting marginal revenue equal to marginal cost.

The Optimal Price Formula

For a linear demand function P(q) = a − bq and a linear total cost function C(q) = F + cq, the profit-maximizing price is:

P* = (a + c) / 2

Each variable plays a distinct role:

  • a (Choke Price): The price at which market demand falls to zero. It represents the highest willingness to pay among all potential customers.
  • b (Demand Slope): The number of units of quantity lost for each $1 increase in price. A higher value signals greater price sensitivity in the market.
  • c (Variable Cost per Unit): The marginal cost to produce one additional unit, including materials, labor, packaging, and shipping.
  • F (Fixed Cost): Total overhead that does not vary with output. Fixed costs do not affect the optimal price but are essential for calculating net profit and break-even volume.

Derivation: Why P* = (a + c) / 2

The derivation applies the standard microeconomic profit-maximization rule: set marginal revenue (MR) equal to marginal cost (MC). Beginning with the revenue function:

R(q) = P(q) × q = (a − bq)q = aq − bq²

Taking the first derivative with respect to quantity yields marginal revenue: MR = a − 2bq. Setting MR equal to MC = c and solving for q gives the profit-maximizing quantity:

q* = (a − c) / (2b)

Substituting q* back into the demand function produces the optimal price:

P* = a − b × (a − c) / (2b) = a − (a − c) / 2 = (a + c) / 2

This calculus-based optimization approach is detailed in the Excel Calculus Optimization guide (Section 3.4). The same MR = MC framework underpins the price discrimination and tariff analysis presented in MIT OCW 15.010: Economic Analysis for Business Decisions.

Step-by-Step Numerical Example

Consider a software company selling annual subscriptions with the following parameters:

  • Choke price (a): $200 — no customer pays more than this amount
  • Demand slope (b): 1 — each $1 price increase reduces demand by 1 unit
  • Variable cost (c): $40 per subscription (support, hosting, licensing fees)
  • Fixed cost (F): $1,000 (server infrastructure, base salaries)

Applying the optimal price formula: P* = (200 + 40) / 2 = $120

Optimal quantity: q* = (200 − 40) / (2 × 1) = 80 subscriptions

Total revenue: $120 × 80 = $9,600

Total cost: $1,000 + ($40 × 80) = $4,200

Maximum profit: $9,600 − $4,200 = $5,400

At any price above or below $120, total profit falls below $5,400, confirming that $120 is the true optimum for these parameters.

Practical Use Cases

The optimal price formula applies most reliably in markets with the following characteristics:

  • Demand responds predictably and approximately linearly to price changes across the relevant range
  • The seller holds some market power rather than operating as a pure price taker
  • Marginal cost remains roughly constant across expected production volumes
  • Historical sales data or market research supports reliable estimation of a and b

Key Limitations to Understand

The linear demand assumption is a simplifying approximation. Real demand curves are often nonlinear, and both the choke price and demand slope must be estimated through price experiments, customer surveys, or regression analysis of historical sales data. Fixed costs, while excluded from the price optimization formula, remain critical for break-even and business viability analysis, as outlined by the University of Missouri Extension break-even pricing guide. Sellers serving multiple customer segments may need to extend this framework with price discrimination strategies to capture additional value beyond the single-price optimum.

Reference

Frequently asked questions

What is the optimal price formula and how is it mathematically derived?
The optimal price formula P* = (a + c) / 2 is derived by setting marginal revenue equal to marginal cost. For a linear demand function P(q) = a - bq, the marginal revenue is MR = a - 2bq. Setting MR equal to the constant marginal cost c gives optimal quantity q* = (a - c) / (2b). Substituting q* into the demand function yields P* = (a + c) / 2, placing the optimal price exactly halfway between the choke price and variable cost.
Why do fixed costs not affect the optimal price under linear demand?
Fixed costs do not enter the marginal cost calculation because they do not change with output. The profit-maximization condition MR = MC only involves costs that vary at the margin. Once fixed costs are committed, they are sunk relative to the pricing decision. For example, whether fixed costs are $500 or $50,000, the optimal price P* = (a + c) / 2 remains identical. Fixed costs matter for determining whether a business is profitable or should shut down, but not for setting the revenue-maximizing price.
How do I estimate the choke price (maximum price) for my product?
Estimate the choke price through customer surveys asking the maximum price respondents would pay, historical sales data showing where demand dropped to near-zero, competitor pricing ceilings, or van Westendorp price sensitivity analysis. For example, a niche software tool with no close substitutes might have a choke price of $500, while a commodity product facing intense competition might have a choke price of $30. The choke price is the price intercept of the demand curve and is the most market-specific input in the formula.
How do I determine the demand slope for my business?
The demand slope b measures how many units of demand are lost for each $1 increase in price. Estimate it by analyzing historical sales data at different price points: if dropping the price from $100 to $90 increased unit sales from 50 to 70, the slope b = (70 - 50) / (100 - 90) = 2. Price experiments, A/B tests on e-commerce platforms, and regression analysis of past pricing changes all produce reliable slope estimates. Markets with many substitutes typically show a higher (steeper) demand slope.
How does the optimal price calculator differ from standard cost-plus pricing?
Cost-plus pricing adds a fixed markup percentage to unit cost without considering demand conditions, so it ignores how many units customers will actually buy at that price. The optimal price formula explicitly accounts for market demand through the choke price and slope parameters, ensuring the chosen price balances margin per unit against sales volume. A cost-plus approach might set a price of $60 (cost $40 plus 50% markup) while the demand-informed optimal price for the same product could be $120, generating substantially higher total profit.
What is the optimal quantity to produce alongside the profit-maximizing price?
The optimal quantity is q* = (a - c) / (2b), where a is the choke price, c is the variable cost per unit, and b is the demand slope. Using the software example with a = $200, c = $40, and b = 1, optimal quantity equals (200 - 40) / (2 x 1) = 80 units. Producing more than 80 units would require lowering price below $120, reducing per-unit margin faster than volume gains increase it. Producing fewer units would leave profitable sales unrealized. The optimal price and optimal quantity are determined simultaneously.