Business calculator

Free sales forecast calculator

Enter your historical sales data — this sales forecast calculator fits a linear trend using least-squares regression and projects the next period, updated live, as you type.

InputsLive
Fixed costs (monthly)
$
Price per unit
$
Variable cost per unit
$
Target profit (optional)
$
Result
Break-even units
500
Revenue: $$25,000 · CM: $20/unit
Break-even units500
Break-even revenue$25,000
Contribution margin$20
CM ratio40%

Does not include taxes, depreciation, or opportunity cost. Real-world break-even analysis should include all overhead costs.

Results are estimates. Consult a professional.

How it's calculated

How the sales forecast calculator works

This calculator offers two forecasting methods: linear regression (least squares) and simple growth-rate projection. Linear regression finds the best-fit straight line through your historical sales data and extends it forward — useful when your trend has been consistent. The growth-rate method multiplies your most recent period by (1 + growth rate) — useful for extrapolating recent momentum. The calculator returns the period-7 (or next-period) forecast plus a 95% confidence interval for the regression method.

Slope (m) = (n × Σxy Σx × Σy) ÷ (n × Σx² (Σx)²)
Intercept (b) = (Σy m × Σx) ÷ n
Forecast = m × period + b
95% confidence interval = forecast ± 1.96 × standard error (SE)
Growth-rate method: forecast = latest period × (1 + growth rate)

Neither method accounts for seasonality, sudden market disruption, or macro-economic shocks — they project the past trend forward. The confidence interval from linear regression tells you the statistical precision of the model given your data's spread around the trend line, but it is not a guarantee about the future. Use the interval as a planning range, not a floor-and-ceiling commitment.

SCORE — Sales forecasting guide for small businesses.
Example

Worked example: 6 months of sales data, forecast period 7

Example: monthly sales $80k–$120k over 6 periods, project period 7

A retailer has six months of sales data: $80k, $90k, $95k, $105k, $115k, $120k (periods 1–6). They want a linear-regression forecast for period 7 and a 95% confidence range for budget planning.

n=6, Σx=21, Σy=605, Σxy=2,260, Σx²=91
Slope = (6×2,260 21×605) ÷ (6×91 441) = (13,560 12,705) ÷ 105 = 8.14
Intercept = (605 8.14×21) ÷ 6 = (605 171) ÷ 6 = 72.33
Period 7 forecast = 8.14 × 7 + 72.33 = 56.98 + 72.33 ≈ $129,310
SE ≈ $1,620 → 95% CI = $129,310 ± $3,175 → range [$126,135 – $132,485]
$129,310 forecast (±$3,175)
Period 7 sales are projected at approximately $129,310 with a 95% confidence range of $126,135 to $132,485. The tight range reflects the very consistent upward trend in the data. Budget conservatively to the lower bound and plan capacity to the upper bound.
Quick reference

6-period data, regression statistics, and period-7 forecast

The table below shows each period's actual sales, the regression-fitted value, and the residual (how far actual was from fitted). Small residuals confirm the trend is highly linear; large or patterned residuals suggest non-linearity or seasonality that the model misses.

PeriodActual salesFitted valueResidual
1$80,000$80,470−$470
2$90,000$88,610+$1,390
3$95,000$96,750−$1,750
4$105,000$104,890+$110
5$115,000$113,030+$1,970
6$120,000$121,170−$1,170
7 (forecast)$129,310

Slope = 8.14, Intercept = 72.33. 95% CI for period 7: [$126,135 – $132,485]. Source: least-squares regression; SCORE forecasting guide.

Practical tips

Tips for building an accurate sales forecast

A forecasting model is only as good as the data and assumptions behind it. These five practices separate reliable forecasts from misleading ones.

  • Use at least 6–12 periods of data. Fewer than six data points make regression highly sensitive to any single period. More periods improve statistical reliability and help the model distinguish trend from noise.
  • Identify and adjust for seasonality. Linear regression will systematically over- or under-forecast if your business has seasonal patterns. Either use year-over-year growth rates or apply seasonal indices before running regression.
  • Check the residuals for patterns. Random residuals (no up-down pattern) confirm linear regression is appropriate. If residuals curve upward then downward, the relationship is non-linear — consider a growth-curve or exponential model instead.
  • Build scenarios, not a single number. Create a base case (regression forecast), an upside (top of the confidence interval plus upside assumptions), and a downside (bottom of interval minus a risk factor). Decision-makers need a range to plan cash flow and hiring.
  • Refresh the model monthly. As each new period closes, add the actual to your data and re-run the regression. The model naturally improves as you accumulate more periods and correct for prior forecast errors.
Accuracy & limits

Accuracy and limitations

This calculator implements the ordinary least-squares (OLS) linear regression and a simple compound growth-rate method. Both are widely used, mathematically sound, and appropriate for trending data over short to medium horizons. The 95% confidence interval is a statistical statement about the model's fit to historical data — not a prediction interval that accounts for all sources of future uncertainty. It will understate actual forecast uncertainty because it does not capture structural breaks, competitive disruption, new product launches, or macroeconomic shocks.

Long-horizon forecasts (beyond 3–4 periods out) using these methods degrade rapidly in reliability. For complex businesses with multiple products, regions, or strong seasonality, dedicated forecasting software — or a statistician-built model with seasonal decomposition and external predictors — will significantly outperform this calculator. Use results as a planning starting point, not a definitive projection.

Glossary

Sales forecasting terms defined

A statistical method that fits the straight line minimizing the sum of squared differences between actual values and the line. Produces a slope (trend per period) and intercept (baseline value at period zero).
How much sales are expected to change per additional period. A slope of $8,000 means the model expects sales to grow by $8,000 each month on average.
The model's predicted sales value at period zero (before the data begins). Used mathematically to anchor the trend line; not directly meaningful as a standalone figure.
The average size of the residuals (actual minus fitted) in the regression. Smaller SE means historical actuals tracked the trend line closely, giving more reliable forecasts.
A range computed as forecast ± 1.96 × SE. In a correctly specified model, 95% of forecasts for known data will fall within this range — but real-world uncertainty is typically wider.
Forecasts the next period as the latest period multiplied by (1 + growth rate). Simple, transparent, and useful when recent performance is a better predictor than longer-term trend.
The difference between an actual sales value and the value the regression model predicted for that period. Analyzing residuals reveals whether the model fits well or whether patterns remain unexplained.
About

About this sales forecast calculator

This calculator runs entirely in your browser — nothing you enter is sent to any server.

Browse more in our business calculators, or explore the complete library on the free calculators page.

Questions

Frequently asked questions about the free sales forecast calculator

A sales forecast calculator is a free online tool that helps you linear regression forecast from historical sales data. Least-squares linear trend, projected forward. It runs entirely in your browser with instant results and no sign-up.
No — these calculators provide quick estimates for planning and decisions. For tax filings, financial reporting, or formal valuations, use a CPA / CFA.
Most ratios assume GAAP figures from financial statements. For cash-basis or tax-basis filings, adjust the inputs accordingly.
Core finance formulas (DCF, IRR, depreciation methods, payment math) are stable. Tax-specific calculators (like-kind, repossession) reflect post-TCJA / 2025 rules where applicable.

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.