India · Dubai · Delivering worldwide+91 86603 71224info@pyalm.com
Pyalm Labs logo
Pyalm Books

COGS and Gross Profit for a UAE Trading Business: A Simple Guide

How to calculate cost of goods sold and gross margin for a trading or retail business, with a worked example.

Editorial disclosure: Pyalm publishes and maintains the products and free tools discussed on this site. Regulatory statements are linked to primary sources where applicable. No independent professional review is claimed unless a reviewer is explicitly named.

If you buy and resell goods, cost of goods sold (COGS) and gross profit are the first numbers to get right.

The formula

COGS = opening inventory + purchases − closing inventory

Gross profit = revenue − COGS

Gross margin = gross profit ÷ revenue

A worked example

A trading company in Dubai starts the quarter with AED 80,000 of stock, buys AED 300,000 of goods and ends with AED 95,000 of stock. Revenue is AED 450,000.

  • COGS = 80,000 + 300,000 − 95,000 = AED 285,000
  • Gross profit = 450,000 − 285,000 = AED 165,000
  • Gross margin = 36.7%

Try your own figures in the COGS calculator.

What to include in purchases

The cost of goods plus freight-in and import costs that are part of landing them. Exclude recoverable input VAT, rent and general overheads.

Markup vs margin

A 50% markup is a 33.3% margin. Do not mix them when you set prices. Use the markup calculator.

Why your closing stock matters

COGS depends on the closing stock figure. Count stock regularly, or use an inventory system that updates stock on every sale and purchase. See inventory turnover for how fast stock is moving.

From gross profit to net profit

Subtract operating expenses to reach operating profit. The EBITDA calculator walks through EBITDA, EBIT and net profit.

Keep it automatic

When purchases and POS or invoice sales post to the same system, COGS updates on every transaction. Pyalm Books does this and is free during beta. Start free.

Keep reading

More from Pyalm

Oct 16, 2026

Expense Tracking and Input VAT Recovery in the UAE

How to record business expenses, when input VAT can be recovered, the documents you need, common non-recoverable items and a monthly routine.

Oct 16, 2026

Petty Cash Management: Imprest System and Controls

How to run petty cash so it balances: the imprest method, vouchers, replenishment, counting, VAT on small purchases and anti-leakage controls.

Oct 16, 2026

Accounting for Restaurants and Cafes in the UAE

How UAE restaurants and cafes handle daily POS sales, card settlements, 5% VAT, food cost, delivery app commissions, wastage and payroll.

Oct 16, 2026

E-Commerce Accounting in the UAE: Reconciling Sales

How UAE online sellers account for website and marketplace sales, gateway payouts, cash on delivery, returns, VAT and inventory, and reconcile it all.

Oct 16, 2026

Startup Accounting Checklist for the UAE: 90 Days

A practical checklist for new UAE companies: bank accounts, VAT and Corporate Tax registration, software, chart of accounts, invoices, payroll and controls.

Oct 16, 2026

12 Accounting Mistakes UAE Small Businesses Make

The most common bookkeeping and tax mistakes among UAE SMEs, from mixed personal spending and missing TRNs to unreconciled banks, with a fix for each.

Get UAE VAT & E-Invoicing Ready

Explore Pyalm Books for UAE accounting and VAT workflows. It is free during beta; structured e-invoicing integration is in development. Confirm current capabilities with the team before relying on it for compliance.

Start free on Pyalm Books Learn about Pyalm Books Log in