By Artem Korsakov ·
The cost of goods is only part of the calculation
To begin, you need the currency and price of the goods, an exchange rate, the country of origin, and the weight and dimensions of the packaged cargo. Then you add transportation terms and other expenses. In one case, a supplier’s quote may already include delivery to the terminal. In another, you will have to pay for it separately. Therefore, the calculator must account for service boundaries: from where and to which location each rate applies.
An internal tool for managers requires a detailed breakdown of costs and the ability to modify tariffs. For website visitors, a preliminary estimate and a list of assumptions are usually sufficient. The final cost is confirmed only after verifying the cargo, supplier, and route.
Why weight alone is insufficient
A carrier may consider both mass and the space occupied by the cargo. For example, DHL eCommerce describes calculating chargeable weight by comparing actual and volumetric weight. Coefficients, rounding rules, and calculation methods depend on the specific service.
Take a hypothetical example from our prototype. One pallet has dimensions 120 × 80 × 150 cm and weighs 180 kg. The volume is 1.44 m³. Using a training coefficient of 167 kg/m³, the volumetric weight is 240.48 kg. If the tariff rule requires selecting the higher weight, the calculation will be based on 240.48 kg. At a training rate of 540 RUB/kg, the transportation cost will be 129,859.20 RUB. Calculating based solely on actual weight would yield 97,200 RUB. The difference is 32,659.20 RUB before duties and clearance fees.
This example uses training rates. A working system requires the conditions of a specific shipment: calculation per item or batch, rounding rules, minimum charges, surcharges for oversized items, and other restrictions. If items have different dimensions, they should be entered separately. Multiplying the volume of one hypothetical box by the quantity of an entire mixed batch is incorrect. All coefficients and rates are training data. Real shipment conditions must be verified separately.
Which line items should be visible to a manager
| Expense Category | What to Verify |
|---|---|
| Goods | Currency, exchange rate, completeness, and included services. |
| International Shipment | Route, chargeable weight, minimum charges, and surcharges. |
| Insurance | Rate, calculation base, and coverage limits. |
| Clearance & Handling | Broker fees, terminal charges, storage, and handling. |
| Duties & Taxes | Applicability and rules for the specific import (e.g., Russian customs procedures). |
| Domestic Delivery | Origin, destination, unloading requirements, and additional services. |
It is useful to retain the source and verification date of each rate. Switching countries does not, by itself, confirm that a specified route is available for the selected equipment. Customs value and applicable payments require separate logic based on transaction terms. A universal formula from a demo does not replace specialist verification. Approved rules and exceptions are transferred to the working calculator.
Payment amount and cost of goods sold (COGS) must be shown separately
Companies need to see how much money is required for delivery and which amounts will impact their cost of goods sold (COGS). These may be different values. For example, the accounting treatment for import VAT affects the calculation. Therefore, monetary expenses and COGS should be displayed separately. Accounting rules for a specific transaction must be confirmed with an accountant.
When transferring expenses to a Quote (RFQ), the system replaces approved line items with current values. Repeatedly clicking should not add the same logistics cost twice. The final Quote after recalculation is saved as a new version.
What AI can add
AI can be tasked with transferring conditions from a carrier’s proposal, identifying missing parameters, and preparing a list of questions. For example: Is the terminal included? Is the gross weight known? Are there dimensions for each item?
Forecasting future tariffs requires a separate history of rates and accuracy verification. The presence of AI does not justify displaying unverified costs as final figures.
How to start implementation
- Select one typical route and gather completed shipments with actual expenses.
- Compare the calculator’s result with each shipment: separately for goods, transportation, clearance, and surcharges.
- Discrepancies will reveal missing line items or incorrect rules.
- Verify edge cases: unknown dimensions, mixed batches with different item sizes, and outdated tariffs.
The calculator should indicate what is missing for a calculation. A zero cost for an unknown service creates false precision.
Try it with an example
In the trike_dev calculator, you can modify the goods cost, exchange rate, weight, dimensions, and rates; compare actual and volumetric weights; and transfer verified expenses to a Quote. Routes and tariffs are training data. For development evaluation, you need examples of shipments and carrier proposals with service breakdowns. From these, you can determine the necessary formulas, mandatory data fields, and boundaries of preliminary estimates.
Open interactive prototype Solution structure and capabilities
What’s next?
Next article: How to break down specifications from Excel, PDF, and photos (4 min read)
Solutions: Catalog of solutions with demos | Websites, services, and automation
Similar task: Discuss your project | We will estimate volume, timeline, and budget
