DEV Community

Tomi431
Tomi431

Posted on

Calculate Amazon Profit in Seconds -- Not Hours -- With Your AI Agent

You found a product. Now you need to calculate FBA fees, shipping, referral fees, cost of goods, and break-even. You open a spreadsheet.

First, you look up the FBA fee schedule for the product's size tier. You check whether it falls into small standard, large standard, or oversize -- and which sub-tier within each. You dig up the referral fee percentage for the category. You pull a shipping rate from your freight forwarder's last email. You estimate packaging cost, inbound placement fees, and storage fees if the product is seasonal. You type each number into a cell, write a formula, and stare at the result.

Then you change the price by two dollars and do it again.

Then you wonder what happens if the landed cost goes up 12%. Then you check a different weight estimate. Then you realize you forgot the returns cost. You update the formula. It is now forty-five minutes later, and you have analyzed one product.

This workflow is universal among Amazon sellers. It is also slow, error-prone, and the single largest bottleneck between having an idea and acting on it.

What Makes Amazon Profit Math Complicated

Amazon profit calculation is not a single formula. It is a chain of interdependent estimates that change with product dimensions, category, fulfillment method, and season.

The minimum inputs for a reliable per-unit profit estimate include:

  • Referral fee: 8% to 45% depending on category, with per-item minimums that can dominate low-ASP products
  • FBA fulfillment fee: Determined by size tier, dimensional weight, and shipping weight -- a product that is one inch over a tier boundary can see fulfillment costs jump
  • Inbound shipping: Freight costs from supplier to FBA, allocated per unit
  • Storage fees: Monthly inventory storage, with sharply higher rates during Q4
  • Cost of goods: Landed cost including manufacturing, inspection, and import duties
  • Returns cost: Average return rate for the category, multiplied by the cost of processing a return (shipping, disposal, or restocking)
  • PPC allocation: If advertising is part of the launch, the per-unit ad cost affects true net margin

Getting these numbers right requires cross-referencing the FBA revenue calculator, a freight quote, a duty rate table, and your supplier invoice -- for every product, at every price point you are considering.

An AI Agent That Does the Arithmetic

The sorftime-seller-agent is an open-source MCP (Model Context Protocol) tool that connects any compatible AI agent to marketplace data and profit analysis. You install it once, and your AI agent gains the ability to call structured analysis functions -- including a profit calculator that pulls live fee data, not stale spreadsheet estimates.

Here is what asking for a profit analysis looks like. You are evaluating a kitchen gadget priced at $24.99:

I am evaluating a product on Amazon US. Calculate the unit economics:

- Selling price: $24.99
- Cost of goods (landed): $6.80
- Product weight: 0.8 lbs
- Dimensions: 9.4 x 6.2 x 2.1 inches
- Category: Kitchen & Dining
- Estimated monthly returns: 4%
- Inbound shipping per unit: $0.45
- Target monthly volume: 300 units

Give me per-unit breakdown: referral fee, FBA fee, storage estimate, net profit, and margin.
Then show breakeven volume at this price point and a sensitivity table at $22.99 and $27.99.
Enter fullscreen mode Exit fullscreen mode


Your AI agent calls the relevant tools -- product_profit_calculator for FBA fee estimates based on the actual size tier, referral fee by category, and storage fee modeling -- and returns a structured breakdown in under 30 seconds.

Contrast this with the spreadsheet workflow. In the time it takes to manually calculate one product at one price, the AI agent can run a full sensitivity analysis across multiple price points, weight scenarios, and volume assumptions. The arithmetic is the same either way. The difference is who does the lookup, the formula-writing, and the re-checking.

Beyond the Single-Product Calculation

The real power of having profit analysis connected to an AI agent is that you can ask follow-up questions the way you would with an analyst on your team:

  • "Run the same numbers but assume I ship by sea instead of air -- how does margin change?"
  • "Compare this product's unit economics against the top 3 competing ASINs in the same category."
  • "What price band has the highest net margin when you factor in the FBA fee tier boundaries for this product's dimensions?"
  • "Calculate the monthly profit projection for 6 months, factoring in Q4 storage fee increases and a conservative 15% monthly sales ramp."

Each of these questions would require rebuilding a spreadsheet from scratch. With the MCP tools connected, each one is a sentence in a conversation.

Setting It Up

The install is one command:

git clone https://github.com/DannylydST/sorftime-seller-agent && cd sorftime-seller-agent && python3 scripts/install.py
Enter fullscreen mode Exit fullscreen mode

The installer sets up a Python virtual environment, pulls dependencies, and configures your AI agent to discover the MCP tools automatically. You need a free Sorftime account at open-intl.sorftime.com for the API key. No credit card required.

Once installed, restart your AI agent and ask your first profit question. The tools are available to Claude Code, Codex CLI, Cursor, and any other MCP-compatible agent.

What It Does Not Do

The profit calculator provides estimates based on published FBA fee schedules, standard referral fee rates, and user-supplied inputs. It does not guarantee that your actual fees will match the estimate exactly -- dimensional tier assignments can change when Amazon measures your product at the fulfillment center, and storage fee surcharges depend on actual inventory turnover.

It does not predict sales volume, forecast demand, or tell you whether a product is a good investment. It does the arithmetic so you can focus on the judgment.

Profit analysis is probabilistic, not deterministic. The tool makes the probabilities visible faster than a spreadsheet can. What you do with them is your call.


Try it yourself.

git clone https://github.com/DannylydST/sorftime-seller-agent && cd sorftime-seller-agent && python3 scripts/install.py
Enter fullscreen mode Exit fullscreen mode

Free API key at open-intl.sorftime.com. Then ask your AI agent: "Calculate the profit for a product in my category at my target price." The arithmetic is ready. The next question is yours.


Published: 2026-07-27 | Sorftime International Blog

Top comments (0)