Margin and markup calculator
Work out gross profit, margin and markup for a whole price list at once.
Margin and markup calculator
Paste one line per product in the form name;cost;price and this calculator returns the gross profit, the margin and the markup for every row, then totals the whole list. It is built for the moment before you set prices: an e-commerce catalogue export, a wholesale quote, a market-stall price list, or the column your accountant asked about. Rows copied straight out of a spreadsheet work too.
Mode decides what you are solving for. Margin from price and Markup on cost both read a cost and a selling price, the first reporting profit as a share of revenue and the second as a share of cost. Price from target margin works backwards: give it a cost and the margin you want, and it computes the price that reaches it. VAT rate and Prices include VAT say whether your numbers are gross or net, Platform fee and Fixed fee per sale subtract a marketplace commission, and Price rounding lifts a computed price to a whole number or a .99, .95 or .90 ending.
Fields are separated by semicolons or tabs, and Windows and Unix line endings work interchangeably. A line with two fields is read as cost;price and numbered for you, lines starting with # are treated as notes, and amounts written as 12,50 or 1 234,56 parse fine. Anything unreadable is listed under Skipped rather than quietly changing your totals, and the tally reports the profit, margin and markup for the list.
Everything runs in your browser. Cost prices and supplier terms never leave your device, which is what makes it safe to paste a real catalogue. Copy the report, download it as a .txt file, or send the output back to the input to chain another tool.