Off Prompt

AI Tools for Small Business

Finance

Calculate Product Profitability and Gross Margin

Use this as the second prompt after confirming the AI can read your file. It generates the core ranked profitability table showing gross profit and margin for every product.

The Prompt

For each product, calculate the following:
- Total units sold
- Total revenue
- Total cost (quantity × unit_cost)
- Total gross profit (total revenue − total cost)
- Gross margin percentage (gross profit ÷ revenue × 100)

Return this as a table ranked by gross profit, highest to lowest.

From the guide

How to use AI to analyze three months of your own sales data and tell you which products or services are actually making you money →

Related Prompts