---
title: "Calculate product profit"
method: POST
path: "/api/v1/products/{asin}/calculate"
tags: ["Products"]
---

# Calculate product profit

`POST /api/v1/products/{asin}/calculate`

## Request

- Base URL: `https://app.sellerassistant.app` (the document declares no server; this is the origin it was published from)
- URL: `https://app.sellerassistant.app/api/v1/products/{asin}/calculate`
- Auth: one of:
  - API key in query parameter `api_key`
  - API key in header `X-Api-Key`

Calculate product profit. The limit is 60 requests per minute. Amazon seller account integration is required to make this request. You can do it [here](https://app.sellerassistant.app/integrations/seller-central).

## Request body

- CalculateProductProfitRequest
  - `cog` string, decimal, required: Cost of Goods. Please add taxes to COG if necessary.
  - `fba3pl` string, decimal, required: Third Party Logistics for FBA. Please add FBA inbound placement service fee to Third Party Logistics for FBA if necessary (https://www.sellerassistant.app/blog/amazon-inbound-placement-fees).
  - `fbm3pl` string, decimal, required: Third Party Logistics for FBM.
  - `overridePrice` string, decimal, nullable: Optional price that overrides the price from Amazon to calculate profit. If not provided, the price from Amazon is used.
  - `seasonMode` 'auto' | 'peak' | 'off_peak': Storage fee season. `auto` uses the season for the current date, `peak` uses the October-December rate, and `off_peak` uses the January-September rate.

## Response `200`

Calculate product profit response

- ProductProfit
  - `currency` object, required: Currency information
    - `code` string, required: Currency code
    - `symbol` string, required: Currency symbol
  - `calculations` object, required: Calculation details
    - `fba` object, required: FBA calculation details
      - `price` string, decimal, required: Selling price. Can be overridden by `overridePrice`.
      - `cog` string, decimal, required: Cost of goods
      - `referralFee` string, decimal, required: Referral fee
      - `fbaFee` string, decimal, required: FBA fee
      - `storageFee` string, decimal, required: Storage fee for FBA
      - `variableClosingFee` string, decimal, required: Variable closing fee
      - `fba3pl` string, decimal, required: Third-party logistics expenses for FBA
      - `profit` string, decimal, required: Profit for FBA, also represented as `profit.fba.amount` for summary purposes. Calculated as: `= price - cog - referralFee - fbaFee - storageFee - variableClosingFee - fba3pl`.
    - `fbm` object, required: FBM calculation details
      - `price` string, decimal, required: Selling price. Can be overridden by `overridePrice`.
      - `cog` string, decimal, required: Cost of goods
      - `referralFee` string, decimal, required: Referral fee
      - `variableClosingFee` string, decimal, required: Variable closing fee
      - `fbm3pl` string, decimal, required: Third-party logistics expenses for FBM
      - `profit` string, decimal, required: Profit for FBM, also represented as `profit.fbm.amount` for summary purposes. Calculated as: `= price - cog - referralFee - variableClosingFee - fbm3pl`.
  - `profit` object, required: Profit details
    - `fba` object, required: FBA profit details
      - `amount` string, decimal, required: Profit amount for FBA. The value is the same as `calculations.fba.profit`.
      - `breakEven` object, required: Break-even details for FBA
        - `price` string, decimal, required: Price at which total revenue equals total costs for FBA
        - `profit` string, decimal, required: Break-even profit for FBA (always 0, as break-even means no profit and ROI is 0%)
      - `roi10` object, required: ROI 10% details for FBA
        - `price` string, decimal, required: Price to achieve a 10% ROI for FBA
        - `profit` string, decimal, required: Profit at 10% ROI for FBA
      - `roi20` object, required: ROI 20% details for FBA
        - `price` string, decimal, required: Price to achieve a 20% ROI for FBA
        - `profit` string, decimal, required: Profit at 20% ROI for FBA
      - `roi` number, float, required: Return on investment for FBA is calculated as: ` = (fba.profit / (cog + fba3pl)) x 100`
      - `margin` number, float, required: Profit margin for FBA is calculated as: ` = (fba.profit / price) x 100`
    - `fbm` object, required: FBM profit details
      - `amount` string, decimal, required: Profit amount for FBM. The value is the same as `calculations.fbm.profit`.
      - `breakEven` object, required: Break-even details for FBM
        - `price` string, decimal, required: Price at which total revenue equals total costs for FBM
        - `profit` string, decimal, required: Break-even profit for FBM (always 0, as break-even means no profit and ROI is 0%)
      - `roi10` object, required: ROI 10% details for FBM
        - `price` string, decimal, required: Price to achieve a 10% ROI for FBM
        - `profit` string, decimal, required: Profit at 10% ROI for FBM
      - `roi20` object, required: ROI 20% details for FBM
        - `price` string, decimal, required: Price to achieve a 20% ROI for FBM
        - `profit` string, decimal, required: Profit at 20% ROI for FBM
      - `roi` number, float, required: Return on investment for FBM is calculated as: ` = (fbm.profit / (cog + fbm3pl)) x 100`.
      - `margin` number, float, required: Profit margin for FBM is calculated as: ` = (fbm.profit / price) x 100`
  - `estimate` object, required: Estimate details
    - `sales` integer, required: Estimated sales (pieces per month)
    - `revenue` string, decimal, required: Estimated revenue is calculated as: ` = sales x price` (per month).

## Other responses

- `400`: Bad request - validation failed or invalid parameters
- `402`: Payment Required - subscription expired or payment method required
- `403`: Access denied - insufficient permissions, invalid API key, or the API request limit is used up (`public_api_key_limit`)
- `404`: Resource not found
- `422`: Business logic error - operation cannot be completed due to business rules
- `429`: Too many requests - rate limit exceeded
- `500`: Internal Error

---

[API](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api.md) · [All operations](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/revisions/5b3ecdbcadb6?raw)
