Quantity Demanded Calculator
Every demand curve tells a story about buyers, and the simplest version fits on one line: quantity demanded equals a minus b times price. The Quantity Demanded Calculator solves this linear demand function for any price, reporting the quantity demanded, total revenue, price elasticity at that price, and the revenue-maximizing price.
The equation Q = a - bP encodes the law of demand: as price rises, quantity falls, with a marking how much would be demanded at a zero price and b measuring how fast demand bleeds away per dollar. Two parameters, and the whole demand schedule unfolds.
Enter the demand intercept, the slope, and a price. The tool computes quantity and revenue instantly, evaluates point elasticity (-bP/Q), and finds the price where revenue peaks, a/(2b). It is microeconomics' workhorse, made push-button.
Students meet this function in week one of economics; businesses live inside it forever. Either way, the calculator makes its logic tangible.
Reading the Demand Function
In Q = a - bP, the intercept a is the quantity demanded at a zero price, the theoretical maximum market size, while the slope b says how many units each $1 of price destroys. A steep slope means price-sensitive buyers; a flat one means loyal ones.
The choke price, a/b, is where quantity hits zero: charge more and nobody buys. Between zero and the choke price lies every feasible price-quantity combination, the menu from which the firm chooses.
Graph it with price on the vertical axis by economist convention, and the line slopes downward, the visual signature of the law of demand. Every point on it is a price the firm could charge and the quantity it would sell.
Revenue Along the Curve
Total revenue is price times quantity, and along a linear demand curve it traces a hill: zero at price zero (nothing charged), zero at the choke price (nothing sold), and maximum exactly halfway, at a/(2b). The calculator reports this peak price directly.
The hill exists because of the elasticity gradient: demand is elastic at high prices, where cuts grow revenue, and inelastic at low prices, where hikes grow revenue. Revenue peaks precisely at unitary elasticity, the top of the hill.
This is the theory behind every revenue management system from airlines to hotels: find where you sit on the hill and move toward the top. The calculator shows the hill's peak for your parameters.
Point Elasticity on a Line
Unlike arc elasticity between two points, point elasticity measures responsiveness at a single price: -bP/Q. On a linear curve it varies continuously, elastic near the choke price, unitary at the midpoint, inelastic near zero, even though the slope never changes.
This surprises students: constant slope is not constant elasticity. Slope is absolute change per dollar; elasticity is percentage change per percentage change, and the percentages shift as price and quantity move along the line.
The calculator evaluates it at your exact price, connecting the demand-function world to the PED world. Together they give the complete pricing picture.
Beyond Straight Lines: Real Demand Shapes
Real demand is rarely perfectly linear. The constant-elasticity form, Q = aP^-e, keeps elasticity fixed while the curve bends, fitting luxury goods better than a straight line. Choose the functional form that matches your data, not your textbook chapter.
Kinked demand appears in oligopolies: rivals match your price cuts but not your hikes, creating a kink with elastic responses above and inelastic below. The kink explains the sticky prices economists observe in concentrated industries.
Network effects can even slope demand upward locally: a product gets more valuable as more people use it, temporarily overpowering the price effect. Social platforms and marketplaces live in this strange region.
The linear model remains the right starting point: simple, estimable, and sufficient wherever you operate on a small segment of the curve. Upgrade the shape only when the data demands it.
Demand Estimation Methods
Surveys ask buyers directly what they would pay: quick and cheap but plagued by hypothetical bias, since stated willingness reliably exceeds actual willingness. Treat survey demand curves as optimistic upper bounds.
Field experiments change real prices for real customers and measure the response, the gold standard when feasible. Even simple A/B price tests on a website generate credible elasticity estimates within weeks.
Regression analysis extracts demand parameters from historical price-quantity data, controlling for seasonality, advertising, and competitor moves. It is powerful but hungry for clean data and careful specification.
Machine learning models now estimate demand at the SKU level for large retailers, capturing nonlinearities the linear model misses. The Q = a - bP of this calculator is the conceptual ancestor of those systems.
Every method shares limitations: parameters drift, confounders lurk, and structural breaks, new competitors, demand shocks, obsolete old estimates. Estimation is maintenance, not a one-time project.
How to Use the Quantity Demanded Calculator
Enter the demand intercept, slope, and price, then press Calculate for quantity, revenue, elasticity, and optimal price.
Step 1: Enter the demand intercept (quantity at price zero).
Step 2: Enter the demand slope (units lost per $1).
Step 3: Enter the price to evaluate.
Step 4: Click Calculate to see quantity demanded, revenue, elasticity, and the revenue-maximizing price.
Step 5: Try higher and lower prices to trace the revenue hill.
Step 6: Compare your price against the max-revenue price to see which way to move.
Step 7: Click Reset to clear the form and model another product.
Worked Example: Q = 1000 - 20P at $15
A product's demand is Q = 1000 - 20P. The firm currently charges $15.
Quantity demanded is 1000 minus 20 times 15, or 700 units.
Total revenue is $15 times 700, equal to $10,500.
Point elasticity is -20 times 15 divided by 700, about -0.429, inelastic.
Revenue-maximizing price is 1000 divided by 40, or $25.
At $25, quantity is 500 and revenue is $12,500, higher than at $15.
Because demand is inelastic at $15, raising price toward $25 grows revenue.
The firm has been underpricing; the hill's top is $10 higher.
Worked Example: Finding the Choke Price
The same firm wants to know the choke price and what happens at $40.
Choke price is a/b: 1000 divided by 20, or $50.
At $40, quantity is 1000 minus 800, or 200 units.
Revenue is $40 times 200, or $8,000, below the $12,500 peak.
Elasticity at $40 is -20 times 40 divided by 200, equal to -4.0, strongly elastic.
Past the $25 peak, further hikes destroy revenue as elastic demand collapses.
The hill is now fully mapped: rise to $25, never chase $50.
Two calculations bracketed the entire pricing strategy.
Estimating a and b From Data
Businesses estimate demand parameters from price experiments or historical price-quantity pairs: two clean observations determine the line, more allow regression. The calculator then turns those estimates into decisions.
Hold other factors constant when estimating: seasonality, advertising, and competitor moves shift the whole curve, masquerading as slope. The parameter b must isolate the pure price effect.
Re-estimate as markets evolve. New substitutes steepen the slope; brand building flattens it. A demand function is a snapshot, not a constitution.
From Theory to Pricing Decisions
Compare your current price to a/(2b) first: below it, you have headroom to raise prices; above it, cuts grow revenue. Most firms are surprised which side they are on.
Layer in costs next: profit maximization needs marginal cost, not just revenue. The revenue peak is the starting point; the profit peak sits where marginal revenue equals marginal cost.
Use elasticity at your price to forecast proposed changes: a 10 percent hike at elasticity -0.4 cuts quantity about 4 percent. Small arithmetic, large strategic clarity.
From Classroom to Boardroom
Instructors use this calculator to make the revenue hill tangible: students change the price and watch revenue rise then fall, internalizing unitary elasticity faster than any lecture. The worked examples double as homework with the answers shown.
Pricing workshops run the same exercise with company data: plug in estimated a and b, locate the current price on the hill, and the room sees the strategy instantly. Abstract theory becomes a decision in one slide.
Students most often confuse slope with elasticity, or forget that revenue peaks at the midpoint rather than at maximum quantity. Both errors dissolve the moment they trace the hill numerically.
Natural extensions include adding marginal cost for profit maximization, layering price discrimination across segments, and estimating the parameters from real transaction data, each a full lesson built on this foundation.
Tips
- Read a as market size and b as price sensitivity.
- Find the revenue peak at a/(2b) before any price move.
- Remember slope is not elasticity; elasticity varies along the line.
- Price below the peak? Raise. Above it? Cut.
- Estimate parameters from clean experiments, not noisy history.
- Re-estimate when substitutes or brands shift the curve.
- Add marginal cost to move from revenue to profit optimum.
- Never price at the choke price; the hill's top is halfway.
- Plot your demand curve visually; the hill shape convinces stakeholders faster than tables.
- Estimate separately by channel; online and retail buyers often show different elasticities.
- Revisit the choke price after product changes; improvements shift the whole curve.
- Use conjoint analysis for new products with no sales history to anchor.
- Watch for reference prices; buyers react to changes from expectations, not just levels.
- Sanity-check model outputs against sales team intuition; the field often senses shifts first.
- Update estimates quarterly; demand parameters decay faster than most teams expect.
- Test bundle pricing; combined offers can reveal elasticities invisible in single-product data.
- Remember that free is a special price; demand often jumps discontinuously at zero.
- Archive old estimates with their context; a library of past curves speeds every future decision.
- Teach the revenue hill to your team; shared mental models make pricing debates productive.
1. What is quantity demanded?
The amount of a good buyers will purchase at a given price, holding other factors constant. In the linear model Q = a - bP, it falls as price rises, expressing the law of demand.
2. What is the law of demand?
The principle that, other things equal, higher prices lead to lower quantities demanded. The demand curve's downward slope is its graphical expression.
3. What do a and b represent?
The intercept a is quantity demanded at zero price (maximum market size); the slope b is units lost per $1 price increase (price sensitivity). Together they fully describe linear demand.
4. How is total revenue calculated?
Price times quantity demanded at that price. Along a linear demand curve, revenue forms a hill peaking at the midpoint price a/(2b).
5. What is the revenue-maximizing price?
For Q = a - bP, it is a/(2b), exactly halfway to the choke price. At this price demand is unitary elastic and revenue peaks.
6. What is the choke price?
The price at which quantity demanded hits zero, equal to a/b. No sales occur above it; it is the demand curve's price-axis intercept.
7. What is point elasticity?
Elasticity measured at a single price: -bP/Q for linear demand. It varies along the curve even though the slope is constant.
8. Why isn't elasticity constant on a straight-line demand curve?
Because elasticity is a percentage ratio, and the base percentages change along the line. Slope measures absolute change; elasticity measures relative change.
9. How does this relate to PED?
Point elasticity here is the same concept as price elasticity of demand, evaluated at one price rather than between two points via the midpoint formula.
10. What shifts the demand curve?
Income, tastes, prices of substitutes and complements, expectations, and buyer numbers shift the whole curve (changing a). Movement along the curve comes only from price changes.
11. How do firms estimate demand functions?
From controlled price experiments, historical price-quantity data via regression, or conjoint analysis, carefully isolating the price effect from confounders.
12. What is marginal revenue?
The extra revenue from selling one more unit. For linear demand it falls twice as fast as price and hits zero exactly at the revenue-maximizing quantity.
13. Should firms maximize revenue or profit?
Profit. Revenue maximization ignores costs; the profit optimum is where marginal revenue equals marginal cost, which lies below the revenue peak when costs are positive.
14. What are the model's limitations?
Real demand is rarely perfectly linear, parameters drift, and the model ignores competition dynamics, income effects, and discrete choice behavior. It is a workhorse approximation, not reality.
15. Can this model services too?
Yes. Any product with a downward-sloping price-quantity relationship fits the framework; only the estimated a and b differ across goods and services.
CONCLUSION
The Quantity Demanded Calculator makes the most fundamental equation in economics interactive. Intercept, slope, and price in; quantity, revenue, elasticity, and the optimal price out.
Find your hill, locate your peak, and price with the confidence that comes from seeing the whole curve. The law of demand is not just a textbook diagram; it is your pricing strategy.
Enter your demand parameters above and find your peak.
The demand curve is the most practical diagram in economics; now you can compute everything on it.