Formula Errors

How to Calculate Selling Price from Cost, Overhead, and Profit in Excel

Maira MehtabMaira Mehtab Nov 13, 2026 869 views

Question details

The user needs an Excel-compatible formula to calculate a product selling price by adding an overhead percentage to the product cost and then applying a desired profit percentage.

Product
WPS Office Spreadsheets (Excel-compatible)
Device & OS
not provided
Scenario
A user wants to calculate a product selling price by adding overhead to product cost and applying a desired profit percentage in a spreadsheet.
Observed behavior
The user needs a reusable formula that updates the selling price automatically when the cost, overhead percentage, or profit percentage changes.
Before you start

Organize your worksheet so product cost, overhead percentage, and profit percentage are in separate cells on the same row. Make sure the overhead and profit cells are formatted as percentages or entered as decimal values, so the formula treats them as rates rather than whole-number multipliers.

Solution 1Recommended

Use the markup formula =A2*(1+B2)*(1+C2) in WPS Office Spreadsheets

Use this solution when your product cost, overhead percentage, and desired profit percentage are in separate cells and you want the selling price to recalculate automatically.

This formula works in both WPS Office Spreadsheets and Microsoft Excel. It first adds overhead to the product cost, then applies the profit percentage to the overhead-adjusted amount.

1
Select the selling price cell

Click the cell where you want the selling price to appear, for example D2.

2
Enter the markup formula

Type =A2*(1+B2)*(1+C2) and press Enter. Replace A2, B2, and C2 with your actual cell references for product cost, overhead percentage, and profit percentage.

3
Format the percentage input cells

Select the overhead and profit cells, for example B2:C2, press Ctrl+1, choose Percentage, and click OK. If cells are already formatted as percentages, enter 10% and 0% rather than 10 and 0.

4
Copy the formula to other rows

Drag the fill handle from the formula cell down the price column to apply the same calculation to additional products.

Use the markup formula =A2*(1+B2)*(1+C2) in WPS Office Spreadsheets
Formula result updates automatically: The selling price recalculates whenever the product cost, overhead percentage, or profit percentage changes.

Calculate Cost, Overhead, and Profit Markup in WPS Office Spreadsheets

Open your workbook in WPS Office Spreadsheets, enter product cost, overhead, and profit in separate columns, then use =A2*(1+B2)*(1+C2) to calculate the selling price. The same formula works with your existing Excel files and can be copied down a full price list.

  1. 1. Open WPS Office Spreadsheets: Launch WPS Office, click Spreadsheets, and then open your existing Excel workbook or create a new blank workbook.
  2. 2. Enter pricing data in columns: Put product cost in column A, overhead percentage in column B, and desired profit percentage in column C, starting at row 2.
  3. 3. Insert the selling price formula: Click the selling price cell, such as D2, type =A2*(1+B2)*(1+C2), and press Enter.
  4. 4. Copy the formula down the list: Select D2 and drag the fill handle down column D to calculate selling prices for all products.
  5. 5. Save as an Excel-compatible file: Click the Menu button, choose Save As, select .xlsx as the file type, and click Save.
Use the same Excel markup formula to calculate cost, overhead, and profit in WPS Office Spreadsheets.Full compatibility with Microsoft Excel .xlsx, .xls, and .csv files.Percentage formatting and fill handle support for fast product price lists.Free to download and use with a familiar ribbon interface.
QA img-9

Frequently Asked Questions

What is the Excel formula to calculate selling price from cost, overhead, and profit?

If product cost is in A2, overhead percentage is in B2, and profit percentage is in C2, use =A2*(1+B2)*(1+C2). In WPS Office Spreadsheets, type the formula in the selling price cell and press Enter; with a $100 cost, 10% overhead, and 0% profit, it returns $110.

Why does my markup formula show a very large or incorrect price?

This usually happens when percentage cells are not formatted as percentages. Format B2 and C2 as percentages by selecting them, pressing Ctrl+1, and choosing Percentage. If you keep them in General format, enter overhead and profit as decimals such as 0.10 instead of 10.

Can I calculate a selling price with a flat profit amount instead of a percentage?

Yes. If C2 contains a flat profit amount, use =A2*(1+B2)+C2. This adds the overhead percentage to cost first, then adds the flat profit amount; format the result cell as currency if needed.

How do I apply the markup calculator formula to a whole product list?

Enter the formula in the first selling price cell, then drag the fill handle down the column. WPS Office Spreadsheets adjusts relative references automatically, and you can also double-click the fill handle when adjacent rows contain data.

Does WPS Office support Excel markup calculator files with percentage formulas?

Yes. WPS Office Spreadsheets opens and saves .xlsx files and supports the same formula syntax, percentage formatting, and fill handle behavior as Microsoft Excel.