A Python-based tool designed to help businesses analyze product profitability and optimize pricing strategies based on a target margin.
Product Analyzer allows you to evaluate the performance of your products by comparing current pricing with a desired target margin. The software calculates:
- Current margin and profit
- Suggested price to reach the target margin
- Potential profit increase
- Markup and food cost percentages
- Performance indicators with visual alerts
Restaurants
Retail businesses
Small business owners
- Input multiple products in a single session
- Automatic margin and profit calculations
- Target-based price optimization
- Markup (%) and Food Cost (%) analysis
- Visual performance alerts (🟢 🟡 🔴)
- Clean and structured terminal report
Insert your target margin
Add your products
Enter cost and current price for each product
Get a full profitability report instantly
Example Output Target margin: 65.00%
Product: Margherita Initial cost: £3.00 Current price: £10.00 Margin: 70.00% Profit: £7.00 Suggested price: No change needed Markup: 233.33% Food Cost: 30.00% Status: 🟢
Product: Pasta Initial cost: £3.85 Suggested price: £11.00 Markup: 185.71% Food Cost: 35.00% Status: 🟢
v2.0 — AI Agent (in progress): Adding an AI agent loop with function calling. The agent autonomously calculates margins, food costs, markup, and generates reports using OpenAI's GPT-4o
- Python 3.13
- No external libraries needed