Racklipedia
Racklify
​
Manufacturing

How To Calculate Ex-Factory Price: Formula, Cost Elements, And Practical Example

Updated September 25, 2026
Published September 25, 2026
William Carlin

Ex-Factory Price

Definition

The price of goods at the factory before transportation, duties, insurance, and other downstream costs.

Overview

Ex-Factory Price The price of goods at the factory before transportation, duties, insurance, and other downstream costs. Calculating it accurately requires isolating manufacturing costs and allocating overhead and margin so the factory gate price covers production without absorbing logistics or customs fees that another party will pay.


For manufacturers, a defensible ex-factory price enables consistent quoting, supports margin analysis, and simplifies landed-cost modelling for customers. For buyers, understanding how that price is built helps spot hidden markups and compare suppliers.


Core Formula And Cost Elements


The basic formula for a simple ex-factory price is:

  • Label: Ex-Factory Price = Direct Materials + Direct Labor + Allocated Factory Overhead + Packaging (factory-level) + Seller Margin


Definitions of the components:

  • Direct Materials: Cost of parts and raw materials per unit including inbound freight to the plant if absorbed by production costs.
  • Direct Labor: Wages, benefits, and production bonuses apportioned per unit.
  • Factory Overhead: Indirect manufacturing costs (utilities, machine depreciation, maintenance, quality control) allocated on a reasonable basis (machine hours, labor hours, or units produced).
  • Packaging (Factory): Primary and secondary packaging required to produce a shippable item; excludes export crates or carrier pallets unless stipulated.
  • Seller Margin: Profit component or markup over cost; may be percentage or fixed amount per unit.


How To Allocate Overhead Correctly


Overhead allocation can materially change the ex-factory price. Use a consistent basis that reflects cost drivers:

  • Label: Machine-Intensive Products: allocate overhead by machine hours.
  • Label: Labor-Intensive Products: allocate by direct labor hours.
  • Label: High-Variety Lines: consider activity‑based costing for setup and changeover expenses.


Accounting For Variable Versus Fixed Costs


Separate variable costs (materials, direct labor) from fixed costs (factory lease, salaried supervision). For short-term quotes, marginal costing—covering variable cost plus margin—can be acceptable. For long-term contracts, ensure the ex-factory price contributes to fixed-cost recovery or include escalation mechanisms in the agreement.


Example Calculation


Manufacturer A produces a consumer product. Per unit costs are:

  • Direct Materials: $12.00
  • Direct Labor: $4.00
  • Factory Overhead (allocated): $3.00
  • Factory Packaging: $0.50
  • Seller Margin (20% on cost): 20% × ($12 + $4 + $3 + $0.50) = $3.90


Ex-Factory Price = $12 + $4 + $3 + $0.50 + $3.90 = $23.40 per unit.


Validating And Negotiating The Price


Buyers should request a cost breakdown; manufacturers should be prepared to justify overhead allocation and margin approach. Consider these actions:

  • Label: Ask for line-item cost statements for key components to validate material pricing.
  • Label: Request copies of standard costing assumptions or overhead drivers used in allocation.
  • Label: Negotiate volume discounts or tiered pricing tied to forecasted purchase quantities.


Operational And Compliance Considerations


When ex-factory price feeds into export documentation and customs valuation, ensure transparent records. Customs authorities may review transaction values and related-party pricing; accurate cost build-ups reduce audit risk. From an operations perspective, align your ERP/WMS cost masters so quoted ex-factory prices match the accounting records and variant bill-of-materials used on the shop floor.


Quick Tips For Manufacturers


Final suggestions for calculating reliable ex-factory prices:

  • Label: Keep costing rules documented and consistent across quotes.
  • Label: Separate logistics line items from the ex-factory quote unless you are explicitly offering delivered terms.
  • Label: Recalculate ex-factory price after major input-cost changes (commodity spikes, labor rate changes) and communicate adjustments contractually.


In short, the Ex-Factory Price is a manufacturing-side price exclusive of downstream transport, insurance, and duties. Compute it by summing direct materials, labor, allocated factory overhead, factory packaging, and a seller margin; document assumptions and align contract terms so downstream parties clearly understand who pays what after the goods leave the factory.

Sources And Additional Reading (3)

More from this term
Looking for a 3PL?

Compare warehouses on Racklify and find the right logistics partner for your business.