Target Price
target_priceCompute the selling price needed to hit a target margin percentage. FREE.
Typical input {"unit_cost": 12, "target_margin_pct": 60} returns {"required_price": 30.0, "unit_margin": 18.0, "equivalent_markup_pct": 150.0}.
The inverse of unit_economics - solves for price from a target margin. Use when the margin is the fixed requirement. Not when the price is already set. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "target_margin_pct must be between 0 and 100"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_cost | Yes | Variable cost per unit; must be 0 or greater, e.g. 12.0. | |
| target_margin_pct | Yes | Desired gross margin percentage, strictly between 0 and 100, e.g. 60 for a 60% margin. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||