Lead time, landed cost, and the reorder point for one shipment
I am Vice President of an import and distribution business, so the routing question is familiar territory. This page covers what happens before the route: what a unit costs once it lands and when to reorder it. The routing lab is a separate page.
The result appears here when the page script runs.
How it is computed
Landed unit cost
Let U be the unit cost, F the freight, and O the other adder, each an integer number of fixture cents. Let b be the duty in basis points, an integer from 0 to 10000. The landed cost in cents is the reduced form of (U + F + O) times 10000, plus U times b, over 10000. There is no rounding step. A remainder stays in the ratio.
Duty sensitivity
The difference of landed cost at b+1 and at b is U/10000 cents per basis point, again as a reduced ratio. Freight and the other adder have slope 1. The sweep replaces b with an arithmetic sequence and recomputes the same ratio at each point. Bar height on the chart is only a pixel scale of the quotient. The table is the result.
Reorder point
Daily demand d is a positive integer and does not vary inside the fixture. Lead time is a discrete distribution: day L with positive integer weight w. Duplicate days are added before the sort. The mean lead is the reduced ratio of the sum of L times w, over the sum of w. Demand during a lead of L days is d times L, exact. The service fraction p/q must satisfy p at most q. Walking the days in order, the service day is the first L whose cumulative weight W meets W times q at least p times the total weight. The reorder point is d times that L. Safety stock is that integer minus the mean demand during lead time, as a ratio. It can be negative when the service day sits below the mean. A negative safety stock is a comparison, not an order.
Schema, bounds, and abstention
Unit cents run from 1 to 100000000. Freight and the other adder run from 0 to the same cap. Duty runs from 0 to 10000 basis points. Daily demand runs from 1 to 10000. Each lead day runs from 1 to 365, each weight from 1 to 10000, and the list holds 1 to 12 masses. The sweep holds 1 to 24 points. A service fraction above 1 is rejected, so the walk always meets a day when the other checks pass. Equal frequencies are not a concept on this page. A zero demand is rejected rather than called a reorder of nothing. Products that would leave the safe integer range abort.
What this is not
This page does not place a purchase, name a supplier, or read a document from a business. It does not chart a sale, a volume, a route, or a trade. The inputs are kept in the address bar, so the same link reruns the same calculation.