{"id":139399,"date":"2026-11-30T22:17:43","date_gmt":"2026-12-01T04:17:43","guid":{"rendered":"https:\/\/www.albert.io\/blog\/?p=139399"},"modified":"2026-12-01T07:53:21","modified_gmt":"2026-12-01T13:53:21","slug":"supply-demand-calculator","status":"publish","type":"post","link":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/","title":{"rendered":"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity"},"content":{"rendered":"<p>This free supply and demand calculator finds the equilibrium price and quantity, shows the shortage or surplus from a price ceiling or floor, works out consumer and producer surplus, and calculates price elasticity of demand.<\/p>\n<div class=\"athq-tool athq-set-social\" data-slug=\"supply-demand-calculator\" data-mode=\"full\" data-name=\"Supply and Demand Calculator\" data-src=\"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/albert-tools-hq\/supply-demand-calculator.e7440b5a21.js\" data-config=\"{}\" data-cta=\"{&quot;url&quot;:&quot;https:\\\/\\\/www.albert.io\\\/adaptive-subjects\\\/adaptive-math-skills?utm_source=blog&amp;utm_medium=tool&amp;utm_campaign=supply-demand-calculator&amp;utm_content=cta&quot;,&quot;label&quot;:&quot;Practice free in Albert&quot;}\"><p class=\"athq-loading\">Loading the supply and demand calculator\u2026<\/p><noscript><p>This supply and demand calculator needs JavaScript turned on.<\/p><\/noscript><\/div>\n<h2>How to use the supply and demand calculator<\/h2>\n<ol>\n<li>Write demand as Qd = a \u2212 bP and supply as Qs = c + dP, then enter a, b, c and d.<\/li>\n<li>Read the equilibrium price and quantity, and the shaded consumer surplus on the graph.<\/li>\n<li>Add a price ceiling or floor to see whether it binds and how big the shortage or surplus is.<\/li>\n<li>Use the shift buttons to move demand or supply and watch the equilibrium change.<\/li>\n<li>Switch to Elasticity to compare two price\u2013quantity points with the midpoint method.<\/li>\n<\/ol>\n<h2>Worked example<\/h2>\n<p>Demand is Qd = 100 \u2212 2P and supply is Qs = 10 + P.<\/p>\n<ul>\n<li>Set them equal: 100 \u2212 2P = 10 + P, so 3P = 90 and <strong>P* = 30<\/strong>.<\/li>\n<li>Plug back in: Qd = 100 \u2212 60 = <strong>Q* = 40<\/strong>.<\/li>\n<li>Consumer surplus is the triangle under demand and above P*: \u00bd \u00d7 40 \u00d7 (50 \u2212 30) = <strong>400<\/strong>.<\/li>\n<li>A price ceiling of 20 is below P*, so it binds: buyers want 60, sellers offer 30, a <strong>shortage of 30<\/strong>.<\/li>\n<\/ul>\n<h2>Equilibrium<\/h2>\n<p>A market is in equilibrium when the quantity buyers want equals the quantity sellers want to sell. Above P*, sellers offer more than buyers want (a surplus), and price tends to fall. Below P*, buyers want more than is offered (a shortage), and price tends to rise. That&#8217;s why the market settles where the curves cross.<\/p>\n<h2>Shifts vs. movements along a curve<\/h2>\n<table>\n<thead>\n<tr>\n<th>What changes<\/th>\n<th>Effect<\/th>\n<th>New P*<\/th>\n<th>New Q*<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Demand increases (income, tastes, price of a substitute rises)<\/td>\n<td>Demand shifts right<\/td>\n<td>Up<\/td>\n<td>Up<\/td>\n<\/tr>\n<tr>\n<td>Demand decreases<\/td>\n<td>Demand shifts left<\/td>\n<td>Down<\/td>\n<td>Down<\/td>\n<\/tr>\n<tr>\n<td>Supply increases (cheaper inputs, better technology)<\/td>\n<td>Supply shifts right<\/td>\n<td>Down<\/td>\n<td>Up<\/td>\n<\/tr>\n<tr>\n<td>Supply decreases<\/td>\n<td>Supply shifts left<\/td>\n<td>Up<\/td>\n<td>Down<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>A change in the good&#8217;s own price never shifts its curve. It&#8217;s a movement along the curve. On the AP Micro exam, this distinction comes up constantly.<\/p>\n<h2>Price ceilings and floors<\/h2>\n<p>A <strong>price ceiling<\/strong> is a legal maximum, like rent control. It only matters if it&#8217;s set below equilibrium, and then it creates a shortage. A <strong>price floor<\/strong> is a legal minimum, like a minimum wage. It only matters above equilibrium, and then it creates a surplus. Both create deadweight loss: trades that would have helped both sides no longer happen.<\/p>\n<h2>Consumer and producer surplus<\/h2>\n<p>Consumer surplus is the difference between what buyers would have paid and what they did pay: the area under the demand curve and above the price. Producer surplus is the difference between the price and the lowest price sellers would have accepted: the area above the supply curve and below the price. Together they&#8217;re total surplus, which is largest at the competitive equilibrium.<\/p>\n<h2>Price elasticity of demand<\/h2>\n<p>Elasticity measures how strongly quantity demanded responds to price. The midpoint method divides each change by the average of the two values:<\/p>\n<p><strong>Elasticity = [(Q\u2082 \u2212 Q\u2081) \u00f7 ((Q\u2081 + Q\u2082)\/2)] \u00f7 [(P\u2082 \u2212 P\u2081) \u00f7 ((P\u2081 + P\u2082)\/2)]<\/strong><\/p>\n<table>\n<thead>\n<tr>\n<th>|Elasticity|<\/th>\n<th>Meaning<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Greater than 1<\/td>\n<td>Elastic<\/td>\n<td>A brand of cereal with many substitutes<\/td>\n<\/tr>\n<tr>\n<td>Equal to 1<\/td>\n<td>Unit elastic<\/td>\n<td>Total revenue stays the same when price changes<\/td>\n<\/tr>\n<tr>\n<td>Less than 1<\/td>\n<td>Inelastic<\/td>\n<td>Gasoline or insulin in the short run<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Elasticity tells a seller what happens to total revenue: raising price on an inelastic good raises revenue; on an elastic good it lowers revenue.<\/p>\n<h2>Practice problem<\/h2>\n<p>Demand is Qd = 80 \u2212 4P and supply is Qs = \u221210 + 2P.<\/p>\n<ol>\n<li><strong>Equilibrium:<\/strong> 80 \u2212 4P = \u221210 + 2P, so 6P = 90 and <strong>P* = 15<\/strong>. Then Q* = 80 \u2212 60 = <strong>20<\/strong>.<\/li>\n<li><strong>Consumer surplus:<\/strong> demand hits the price axis at P = 20, so CS = \u00bd \u00d7 20 \u00d7 (20 \u2212 15) = <strong>50<\/strong>.<\/li>\n<li><strong>Producer surplus:<\/strong> supply starts at P = 5, so PS = \u00bd \u00d7 20 \u00d7 (15 \u2212 5) = <strong>100<\/strong>.<\/li>\n<li><strong>A price floor of 18:<\/strong> it&#8217;s above P*, so it binds. Buyers want 80 \u2212 72 = 8, sellers offer \u221210 + 36 = 26: a <strong>surplus of 18<\/strong>.<\/li>\n<\/ol>\n<p>Enter a = 80, b = 4, c = \u221210 and d = 2 in the calculator to check each step.<\/p>\n<h2>Common mistakes<\/h2>\n<ul>\n<li>Confusing a change in demand (a shift) with a change in quantity demanded (a movement).<\/li>\n<li>Drawing a ceiling above equilibrium and calling it a shortage.<\/li>\n<li>Using the plain percent change instead of the midpoint method for elasticity.<\/li>\n<\/ul>\n<p>Review the whole unit on the <a href=\"https:\/\/www.albert.io\/blog\/ap-microeconomics-unit-2-cheat-sheet\/\">AP\u00ae Microeconomics Unit 2 cheat sheet: supply and demand<\/a>. Getting ready for the exam? Try the <a href=\"https:\/\/www.albert.io\/blog\/ap-microeconomics-score-calculator\/\">AP Microeconomics score calculator<\/a> and the <a href=\"https:\/\/www.albert.io\/blog\/category\/test-prep\/advanced-placement\/ap-microeconomics\/\">AP Microeconomics guides<\/a>.<\/p>\n<h2>FAQ<\/h2>\n<div class=\"athq-faq\"><h3>How do you find equilibrium price?<\/h3><p>Set quantity demanded equal to quantity supplied and solve for P. With Qd = 100 \u2212 2P and Qs = 10 + P, 100 \u2212 2P = 10 + P gives P* = 30 and Q* = 40.<\/p>\n<h3>When does a price ceiling cause a shortage?<\/h3><p>Only when it is set below the equilibrium price. Then buyers want more than sellers offer, and the gap is the shortage. A ceiling above equilibrium has no effect.<\/p>\n<h3>What is the midpoint method for elasticity?<\/h3><p>It divides each change by the average of the two values, so you get the same answer whether price rises or falls. Elasticity is %\u0394Q \u00f7 %\u0394P.<\/p>\n<h3>What does elastic demand mean?<\/h3><p>The absolute value of elasticity is above 1: quantity demanded changes by a bigger percentage than price. Below 1 is inelastic, exactly 1 is unit elastic.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Free supply and demand calculator: equilibrium price and quantity, shortages and surpluses from price controls, consumer and producer surplus, elasticity.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","albert_practice_url":"","albert_lit_section":"analysis","albert_lit_sort_order":0,"footnotes":""},"categories":[14],"tags":[12854],"class_list":["post-139399","post","type-post","status-publish","format-standard","hentry","category-tools-and-calculators","tag-score-calculator"],"acf":{"post_id":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Supply and Demand Calculator: Equilibrium, Surplus and Elasticity | Albert<\/title>\n<meta name=\"description\" content=\"Free supply and demand calculator: equilibrium price and quantity, shortages and surpluses from price controls, consumer and producer surplus, elasticity.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity | Albert\" \/>\n<meta property=\"og:description\" content=\"Free supply and demand calculator: equilibrium price and quantity, shortages and surpluses from price controls, consumer and producer surplus, elasticity.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/\" \/>\n<meta property=\"og:site_name\" content=\"Albert Blog &amp; Resources\" \/>\n<meta property=\"article:published_time\" content=\"2026-12-01T04:17:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-12-01T13:53:21+00:00\" \/>\n<meta name=\"author\" content=\"The Albert Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"The Albert Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/\"},\"author\":{\"name\":\"The Albert Team\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/316a5d059c87b2f7dd5344bb607fe177\"},\"headline\":\"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity\",\"datePublished\":\"2026-12-01T04:17:43+00:00\",\"dateModified\":\"2026-12-01T13:53:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/\"},\"wordCount\":695,\"keywords\":[\"Score Calculator\"],\"articleSection\":[\"Tools &amp; Calculators\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/\",\"url\":\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/\",\"name\":\"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity | Albert\",\"isPartOf\":{\"@id\":\"https:\/\/www.albert.io\/blog\/#website\"},\"datePublished\":\"2026-12-01T04:17:43+00:00\",\"dateModified\":\"2026-12-01T13:53:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/316a5d059c87b2f7dd5344bb607fe177\"},\"description\":\"Free supply and demand calculator: equilibrium price and quantity, shortages and surpluses from price controls, consumer and producer surplus, elasticity.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.albert.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.albert.io\/blog\/#website\",\"url\":\"https:\/\/www.albert.io\/blog\/\",\"name\":\"Albert Blog &amp; Resources\",\"description\":\"Free resources and practice materials for students and teachers!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.albert.io\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/316a5d059c87b2f7dd5344bb607fe177\",\"name\":\"The Albert Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cd93112c9a0ca83a8ee98ffab3e70876e60ab22b5ea917e9fd93c3b7c6d31212?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cd93112c9a0ca83a8ee98ffab3e70876e60ab22b5ea917e9fd93c3b7c6d31212?s=96&d=mm&r=g\",\"caption\":\"The Albert Team\"},\"description\":\"Albert.io offers the best practice questions for high-stakes exams and core courses spanning grades 6-12. For over five years, hundreds of thousands of students have used Albert to build confidence and score better on their SAT, ACT, AP, and Common Core tests. If you're an educator interested in trying Albert, click the button below to learn about our pilot program.\",\"sameAs\":[\"https:\/\/www.albert.io\/signup?utm_source=blog&amp;utm_campaign=author-bio\"],\"url\":\"https:\/\/www.albert.io\/blog\/author\/learnwithalbert\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity | Albert","description":"Free supply and demand calculator: equilibrium price and quantity, shortages and surpluses from price controls, consumer and producer surplus, elasticity.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/","og_locale":"en_US","og_type":"article","og_title":"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity | Albert","og_description":"Free supply and demand calculator: equilibrium price and quantity, shortages and surpluses from price controls, consumer and producer surplus, elasticity.","og_url":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/","og_site_name":"Albert Blog &amp; Resources","article_published_time":"2026-12-01T04:17:43+00:00","article_modified_time":"2026-12-01T13:53:21+00:00","author":"The Albert Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"The Albert Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/#article","isPartOf":{"@id":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/"},"author":{"name":"The Albert Team","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/316a5d059c87b2f7dd5344bb607fe177"},"headline":"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity","datePublished":"2026-12-01T04:17:43+00:00","dateModified":"2026-12-01T13:53:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/"},"wordCount":695,"keywords":["Score Calculator"],"articleSection":["Tools &amp; Calculators"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/","url":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/","name":"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity | Albert","isPartOf":{"@id":"https:\/\/www.albert.io\/blog\/#website"},"datePublished":"2026-12-01T04:17:43+00:00","dateModified":"2026-12-01T13:53:21+00:00","author":{"@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/316a5d059c87b2f7dd5344bb607fe177"},"description":"Free supply and demand calculator: equilibrium price and quantity, shortages and surpluses from price controls, consumer and producer surplus, elasticity.","breadcrumb":{"@id":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.albert.io\/blog\/supply-demand-calculator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.albert.io\/blog\/supply-demand-calculator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.albert.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Supply and Demand Calculator: Equilibrium, Surplus and Elasticity"}]},{"@type":"WebSite","@id":"https:\/\/www.albert.io\/blog\/#website","url":"https:\/\/www.albert.io\/blog\/","name":"Albert Blog &amp; Resources","description":"Free resources and practice materials for students and teachers!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.albert.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/316a5d059c87b2f7dd5344bb607fe177","name":"The Albert Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cd93112c9a0ca83a8ee98ffab3e70876e60ab22b5ea917e9fd93c3b7c6d31212?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cd93112c9a0ca83a8ee98ffab3e70876e60ab22b5ea917e9fd93c3b7c6d31212?s=96&d=mm&r=g","caption":"The Albert Team"},"description":"Albert.io offers the best practice questions for high-stakes exams and core courses spanning grades 6-12. For over five years, hundreds of thousands of students have used Albert to build confidence and score better on their SAT, ACT, AP, and Common Core tests. If you're an educator interested in trying Albert, click the button below to learn about our pilot program.","sameAs":["https:\/\/www.albert.io\/signup?utm_source=blog&amp;utm_campaign=author-bio"],"url":"https:\/\/www.albert.io\/blog\/author\/learnwithalbert\/"}]}},"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/139399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/comments?post=139399"}],"version-history":[{"count":2,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/139399\/revisions"}],"predecessor-version":[{"id":139937,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/139399\/revisions\/139937"}],"wp:attachment":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/media?parent=139399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/categories?post=139399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/tags?post=139399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}