Dynamic Pricing & Promotion Impact Modeling
7
Minutes Read
Published
October 7, 2025
Updated
October 7, 2025

Advanced Excel pricing models for SaaS and e-commerce using Solver to maximize profit

Learn how to use Excel Solver for pricing strategy to build a dynamic model that analyzes price sensitivity and maximizes your revenue.
Glencoyne Editorial Team
The Glencoyne Editorial Team is composed of former finance operators who have managed multi-million-dollar budgets at high-growth startups, including companies backed by Y Combinator. With experience reporting directly to founders and boards in both the UK and the US, we have led finance functions through fundraising rounds, licensing agreements, and periods of rapid scaling.

Price Optimization in Excel: A Founder's Guide to Advanced Modeling

For many founders, pricing feels more like an art than a science. Key decisions are often guided by competitor analysis, early customer feedback, and a healthy dose of intuition. While these inputs are valuable, relying on them alone often leaves money on the table. The good news is that you do not need a dedicated finance team or expensive software to bring data into the conversation. Learning how to use Excel solver for pricing strategy is an accessible yet powerful step toward maximizing revenue and profit. A structured approach using tools you already have, like Microsoft Excel, can transform your pricing strategy from guesswork into a calculated business lever, giving you a clear, data-informed path forward.

Foundational Concepts: The Core Idea Behind the Model

Before diving into spreadsheets, it is important to grasp the core concepts that power any effective pricing model. The goal is to move from reactive, gut-feel pricing to a proactive, data-informed approach. At its heart, the model balances two critical ideas: price elasticity and profit maximization. This framework turns your spreadsheet into a powerful decision-support tool, not a decision-making dictator.

Price Elasticity of Demand

Price elasticity measures how the demand for your product changes as you change its price. It is the central pillar of any serious price sensitivity analysis. A product with high elasticity sees a large drop in demand for a small price increase, like a generic brand of coffee. In contrast, a product with low elasticity, such as essential medication, sees little change in demand even with a significant price increase. Your model uses this relationship to forecast demand at different price points, forming the basis of your predictions.

The Objective Function: Defining Your Goal

The second core concept is the objective function, which is simply the goal you want to achieve. For most SaaS and e-commerce startups, this goal is maximizing total profit. The formula is straightforward and will be the cell you ask Solver to maximize in your profit maximization model: Total Profit = (Price - Variable Cost) * Forecasted Quantity. While profit is the most common objective, you could also set Solver to maximize total revenue or a specific market share, depending on your strategic priorities.

Constraints: Setting the Business Guardrails

Finally, your model needs constraints. These are the business rules or guardrails that prevent the model from suggesting unrealistic or strategically poor prices. For example, you would set a rule that the price must always be higher than your variable cost. You might also add a constraint that your price should not exceed that of your closest competitor by more than 15%. These rules ensure the model's output is grounded in business reality, making your Excel pricing model template a practical and trustworthy tool.

Step 1: Gathering Your Inputs (Without Boiling the Ocean)

The most common challenge in building any financial model is data. Founders often worry about the classic “garbage in, garbage out” problem, fearing that without perfect historical data, the model is useless. The reality for most pre-seed to Series B startups is more pragmatic. You must start with the data you have and commit to refining it over time. The key is to begin without boiling the ocean; a simple, directionally correct model is far more valuable than a complex, unfinished one.

Finding Historical Price and Quantity Data

Your primary data sources are likely already in your operational toolkit. For an e-commerce company, historical sales data from a platform like Shopify provides a direct record of price points and the quantities sold at each. For a SaaS business, your Stripe transaction history is a goldmine of subscription data. This is your starting point for estimating price elasticity. A practical first step is to visualize this data in Excel using a scatter plot with price on the y-axis and quantity on the x-axis. Adding a power or logarithmic trendline can give you an immediate visual sense of the price-demand relationship. For further examples, see our guide on e-commerce promotion ROI modeling.

Calculating Price Elasticity in Excel

For a more precise calculation beyond a simple chart, you can use built-in Excel functions. The most common method for a simple model is a log-log regression. This involves taking the natural logarithm of your historical price and quantity data.

  1. Create two new columns next to your raw data. In the first, use the formula =LN(price_cell). In the second, use =LN(quantity_cell). Drag these formulas down for all your data points.
  2. Now, in a separate cell, use the =SLOPE() function. The formula will be =SLOPE(range_of_LN_quantity, range_of_LN_price). The resulting number is your price elasticity coefficient.
  3. For example, a result of -1.5 means that for every 1% increase in price, you can expect demand to decrease by 1.5%.

This approach provides a more robust elasticity figure than simply looking at a chart. For more advanced methods, see this comprehensive guide to understanding price elasticity models.

Determining Your Variable Costs

Your other key input is the variable cost per unit. This is the direct cost incurred for each unit sold or each new user acquired. It is crucial to distinguish this from fixed costs like salaries or rent.

  • For an e-commerce business, this is your cost of goods sold (COGS), plus other direct costs like payment processing fees, packaging, and shipping. This data can be pulled from your inventory system or accounting software like QuickBooks in the US or Xero in the UK.
  • For a SaaS company, variable costs typically include per-user expenses like data hosting on AWS, third-party API calls (e.g., for sending emails or SMS), and incremental customer support costs.

Isolating these costs accurately is essential for building a reliable profit maximization model.

Step 2: How to Use Excel Solver for Pricing Strategy

With your core inputs estimated, you can now build your revenue optimization spreadsheet. The first technical step is to ensure the Solver Add-in is enabled in Excel. You can find it under File > Options > Add-ins > Excel Add-ins > Go. Check the box for 'Solver Add-in'. Once enabled, it will appear in the Data tab. For a detailed walkthrough of the setup, Microsoft provides a guide on using Solver in Excel.

Structuring Your Excel Pricing Model Template

Your spreadsheet setup can be very straightforward. Create a small table with the following components:

  • Variable Cost: The per-unit cost you calculated earlier.
  • Price Elasticity: The coefficient from your SLOPE calculation (e.g., -1.5).
  • Demand Intercept (k): A constant that scales your demand forecast. You can calculate it from a known data point using the formula k = Known Quantity / (Known Price ^ Price Elasticity).
  • Price: This is the cell Solver will change to find the optimal solution. Start by entering your current price.
  • Forecasted Demand: A formula based on the power demand curve: = Demand Intercept * Price ^ Price Elasticity. This is the core of your demand forecasting in Excel.
  • Total Revenue: A simple formula: = Price * Forecasted Demand.
  • Total Cost: Another simple formula: = Variable Cost * Forecasted Demand.
  • Total Profit: Your objective function: = Total Revenue - Total Cost.

Configuring and Running Solver

Once the sheet is built, open Solver from the Data tab. The setup involves three main parts:

  1. Set Objective: Select your 'Total Profit' cell. Below this, choose the 'Max' radio button. This tells Solver the primary goal of the optimization.
  2. By Changing Variable Cells: Select the 'Price' cell. This is the lever that Solver is allowed to pull to achieve its objective.
  3. Subject to the Constraints: This is where you add your business rules. Click ‘Add’ to create them. Common constraints include:
    • A margin floor to protect profitability. For example, add a constraint where your 'Price' cell must be >= your 'Variable Cost' cell multiplied by 1.3, ensuring a minimum 30% gross margin.
    • A market ceiling to keep the price reasonable. For example, add a constraint where your 'Price' cell must be <= $99 to prevent the model from suggesting a price that is out of line with market expectations.

Finally, you need to select the correct solving method. The 'GRG Nonlinear' method is appropriate for most pricing models because the price-demand relationship is not linear. Click ‘Solve’, and Excel will run through thousands of possibilities to find the price that maximizes profit while respecting all your constraints.

Step 3: Keeping Your Pricing Model Relevant and Profitable

A common mistake is treating a pricing model as a static, one-time project. Markets change, costs fluctuate, and customer behavior evolves. The model's relevance depends entirely on how often you refresh its inputs with new information. For businesses with strong seasonality, this might mean running seasonal checks; see our seasonal pricing guidance for more on this topic.

Triggers for Updating Your Model

Key business events should prompt you to update and re-run your profit maximization model.

  • Competitor Price Changes: A significant price change from a direct competitor should trigger an immediate review. This does not mean you should automatically follow, but you must model the potential impact. Our guide on price matching financial impact explores this further.
  • Changes in Variable Costs: If your suppliers increase their prices or your hosting fees change, your optimal price will likely need to adjust to protect margins. You would typically see these changes in your regular financial reviews in QuickBooks (for US companies) or Xero (in the UK).
  • Demand Forecast Deviations: If you notice your actual sales data from Shopify or Stripe is consistently deviating from the model's forecast, it is a strong signal that your customers' price sensitivity has changed, requiring a new elasticity calculation.

Integrating the Model into Business Operations

Updating the model should be a lightweight process. The workflow is simple: get the new data, update the corresponding cells in your spreadsheet, open Solver, and click ‘Solve’ again. The structure is already built, so you are just feeding it fresh information. What founders find actually works is integrating this model review into a quarterly business review cycle. This rhythm ensures pricing decisions stay relevant and profitable without creating excessive administrative overhead.

A Reality Check: Where the Model Ends and Judgment Begins

An Excel-based pricing model is an incredibly powerful tool, but it is essential to understand its limitations. The model’s recommendations are based entirely on the historical data you provide and the assumptions you make. It cannot predict the impact of a new competitor entering the market, a sudden shift in consumer sentiment, or how a price change might affect your brand's premium positioning. This is where the model ends and judgment begins.

The output from Solver is a mathematically optimal number, but it is not necessarily the strategically correct one. For instance, Solver might suggest a price of $48.32. Your knowledge of customer psychology might tell you that $49.99 is a much better price from a marketing and communications perspective. The model provides a precise starting point for a strategic conversation, not a final answer. Always use rigorous methods like A/B test pricing experiments to validate significant price changes in the real world.

Furthermore, the model is a decision-support tool, not a replacement for strategic thinking. It is perfect for optimizing an existing product within an established market. It is less useful for pricing a completely new product category or making a major strategic pivot. Always use the model’s output as one key input among many, alongside qualitative customer feedback, your overarching brand strategy, and your long-term business goals.

Practical Takeaways for Your Business

Moving to a data-informed pricing strategy does not require a massive investment in new pricing strategy tools. With Excel, you can build a robust model to guide your decisions and improve profitability. Here are the key takeaways to get started.

  1. Start with the Data You Have: Do not wait for perfect information. Pull historical sales data from systems like Stripe, Shopify, QuickBooks, or Xero. An imperfect model that gets used is far better than a perfect one that never gets built.
  2. Build a 'Good Enough' Model: Enable the Solver Add-in and structure your inputs and formulas as described. Set your objective to maximize profit and remember to select the GRG Nonlinear solving method, as it is designed for the typical price-demand curve.
  3. Establish Your Guardrails: Implement critical constraints to reflect business reality. A margin floor guarantees profitability on every sale, and a market ceiling keeps prices within customer expectations. These rules prevent the model from producing unrealistic results.
  4. Use It as a Dynamic Tool: Treat your model as a dynamic compass, not a static map. Update it quarterly or whenever significant market events occur. Always overlay the model’s numerical output with your own strategic judgment to turn that input into a winning strategy.

Frequently Asked Questions

Q: What if I have no historical data for a new product?
A: For new products, you cannot use this historical data model. Instead, rely on market research methods like conjoint analysis or Van Westendorp pricing surveys. You can also analyze the prices of comparable competitor products as a starting point. This Excel model is best for optimizing existing products, not pricing new ones.

Q: Can I use this Excel pricing model for multiple products at once?
A: Yes, Solver can optimize multiple "changing" cells (prices) at once for different products. However, this introduces complexity. You must add constraints to manage cross-elasticity, which is how the price of Product A affects demand for Product B. This requires a more advanced model build.

Q: How accurate is demand forecasting in Excel using this method?
A: The accuracy of this method depends entirely on the quality and stability of your historical data. It assumes that past customer behavior is a good predictor of future behavior. While useful for strategic guidance, it should always be supplemented with real-world testing and market knowledge, as it cannot predict external shocks or shifts in trends.

This content shares general information to help you think through finance topics. It isn’t accounting or tax advice and it doesn’t take your circumstances into account. Please speak to a professional adviser before acting. While we aim to be accurate, Glencoyne isn’t responsible for decisions made based on this material.

Curious How We Support Startups Like Yours?

We bring deep, hands-on experience across a range of technology enabled industries. Contact us to discuss.