Shipping Container Rate Calculator

Shipping Container Rate Calculator .shipping-calculator-container { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; background-color: #f9fbfd; border: 1px solid #e1e4e8; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .shipping-calculator-container h2 { color: #0d2c4c; text-align: center; margin-bottom: 25px; border-bottom: 2px solid #0056b3; padding-bottom: 10px; } .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } @media (max-width: 768px) { .calc-grid { grid-template-columns: 1fr; } } .input-group { margin-bottom: 15px; } .input-group label { display: block; margin-bottom: 5px; font-weight: 600; color: #333; font-size: 0.9em; } .input-group input, .input-group select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; box-sizing: border-box; } .input-group input:focus { border-color: #0056b3; outline: none; } .calc-btn { grid-column: 1 / -1; background-color: #0056b3; color: white; padding: 15px; border: none; border-radius: 4px; cursor: pointer; font-size: 18px; font-weight: bold; text-transform: uppercase; transition: background-color 0.3s; margin-top: 10px; } .calc-btn:hover { background-color: #004494; } .results-area { grid-column: 1 / -1; background-color: #ffffff; padding: 20px; border-radius: 6px; border: 1px solid #dee2e6; margin-top: 20px; display: none; } .results-area h3 { margin-top: 0; color: #0d2c4c; } .result-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; } .result-row:last-child { border-bottom: none; font-weight: bold; font-size: 1.2em; color: #0056b3; } .result-label { color: #555; } .result-value { font-weight: bold; color: #333; } .shipping-article { margin-top: 40px; line-height: 1.6; color: #333; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; } .shipping-article h3 { color: #0056b3; margin-top: 25px; } .shipping-article ul { margin-bottom: 20px; } .tooltip { font-size: 0.8em; color: #666; margin-top: 2px; } function calculateShippingRate() { // 1. Get input values var baseFreight = parseFloat(document.getElementById('baseFreight').value) || 0; var baf = parseFloat(document.getElementById('baf').value) || 0; var cafPercent = parseFloat(document.getElementById('cafPercent').value) || 0; var thc = parseFloat(document.getElementById('thc').value) || 0; var docFee = parseFloat(document.getElementById('docFee').value) || 0; var pss = parseFloat(document.getElementById('pss').value) || 0; var inland = parseFloat(document.getElementById('inland').value) || 0; var cargoValue = parseFloat(document.getElementById('cargoValue').value) || 0; var insuranceRate = parseFloat(document.getElementById('insuranceRate').value) || 0; // 2. Perform Calculations // Currency Adjustment Factor (CAF) is typically applied to the Base Freight var cafAmount = baseFreight * (cafPercent / 100); // Insurance is based on Cargo Value var insuranceAmount = cargoValue * (insuranceRate / 100); // Total Surcharges (BAF + CAF + THC + Doc + PSS) var totalSurcharges = baf + cafAmount + thc + docFee + pss; // Total Landed Cost var totalCost = baseFreight + totalSurcharges + inland + insuranceAmount; // 3. Update the UI document.getElementById('resBase').innerHTML = "$" + baseFreight.toFixed(2); document.getElementById('resSurcharges').innerHTML = "$" + totalSurcharges.toFixed(2); document.getElementById('resInland').innerHTML = "$" + inland.toFixed(2); document.getElementById('resInsurance').innerHTML = "$" + insuranceAmount.toFixed(2); document.getElementById('resTotal').innerHTML = "$" + totalCost.toFixed(2); // Show results document.getElementById('resultsArea').style.display = 'block'; }

Freight & Shipping Container Rate Calculator

The base rate for the container (20ft/40ft)
Fuel surcharge per container
Percent of base freight for currency fluctuation
Origin and Destination port fees
Bill of Lading, ISF filing, Customs Entry
Additional fee during high demand (Aug-Nov)
Cost to move container from port to door
Typically 0.3% – 0.6% of cargo value

Estimated Shipping Cost Breakdown

Base Ocean Freight: $0.00
Total Surcharges (BAF, CAF, THC, Doc, PSS): $0.00
Inland Transport: $0.00
Insurance Cost: $0.00
TOTAL ESTIMATED COST: $0.00

Understanding Shipping Container Rates & Freight Costs

Calculating the total cost of shipping a container internationally involves much more than just the base ocean freight rate. Shippers must account for a variety of surcharges, local fees, and variable costs that affect the final "landed cost" of goods. This calculator helps you aggregate these line items into a clear total.

1. Base Freight vs. "All-In" Rates

The Base Ocean Freight is the cost to move a container from the port of loading to the port of discharge. However, this number rarely represents the invoice total. Shipping lines apply various surcharges to mitigate risks such as fuel price volatility and currency fluctuations.

2. Key Shipping Surcharges Explained

  • BAF (Bunker Adjustment Factor): A floating surcharge that correlates with the price of oil. As fuel costs for container ships rise, carriers pass this cost to the shipper.
  • CAF (Currency Adjustment Factor): Applied when there is a disparity between the currency of the carrier's costs and the currency of the freight rate (usually USD). It is typically calculated as a percentage of the base freight.
  • THC (Terminal Handling Charges): Fees charged by the port terminals for loading and unloading the container from the vessel and moving it to the stack. You will often see OTHC (Origin) and DTHC (Destination).
  • PSS (Peak Season Surcharge): During high-volume periods (typically August through November, ahead of the holiday retail season), carriers charge a premium due to limited space availability.

3. FCL vs. LCL Pricing

This calculator is designed primarily for FCL (Full Container Load) shipments, where you rent the entire container (20ft TEU or 40ft FEU). If you do not have enough cargo to fill a container, you might use LCL (Less than Container Load), where you pay per Cubic Meter (CBM). While LCL has a lower base rate for small shipments, the warehousing and consolidation fees (CFS charges) are often higher per unit than FCL.

4. Landside Costs: Trucking and Customs

The "Ocean" portion is only one leg of the journey. Drayage (Trucking) costs cover the movement of the container from the port to your warehouse. Additionally, Customs Clearance fees and duties must be paid before goods can be released. Always factor in the commercial value of your cargo to calculate insurance premiums accurately, ensuring you are covered in case of General Average or loss.

Leave a Comment