Use this calculator to get an estimated cost for your FedEx shipment. Please note that this is an estimate and actual costs may vary based on specific services, surcharges, and current FedEx rates.
FedEx Ground
FedEx Express Saver
FedEx 2Day
FedEx Standard Overnight
.fedex-pricing-calculator-container {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
max-width: 600px;
margin: 20px auto;
padding: 25px;
border: 1px solid #e0e0e0;
border-radius: 8px;
background-color: #fdfdfd;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.fedex-pricing-calculator-container h2 {
text-align: center;
color: #444;
margin-bottom: 20px;
font-size: 24px;
}
.fedex-pricing-calculator-container p {
margin-bottom: 25px;
line-height: 1.6;
color: #666;
text-align: center;
}
.calculator-input-group {
margin-bottom: 18px;
display: flex;
flex-direction: column;
}
.calculator-input-group label {
margin-bottom: 8px;
font-weight: bold;
color: #555;
font-size: 15px;
}
.calculator-input-group input[type="number"],
.calculator-input-group select {
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
width: 100%;
box-sizing: border-box;
transition: border-color 0.3s ease;
}
.calculator-input-group input[type="number"]:focus,
.calculator-input-group select:focus {
border-color: #00509d; /* FedEx blue */
outline: none;
box-shadow: 0 0 5px rgba(0, 80, 157, 0.2);
}
.checkbox-group {
flex-direction: row;
align-items: center;
}
.checkbox-group input[type="checkbox"] {
margin-right: 10px;
width: auto;
transform: scale(1.2);
}
.checkbox-group label {
margin-bottom: 0;
}
.fedex-pricing-calculator-container button {
display: block;
width: 100%;
padding: 14px 20px;
background-color: #00509d; /* FedEx blue */
color: white;
border: none;
border-radius: 5px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
margin-top: 25px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.fedex-pricing-calculator-container button:hover {
background-color: #003f7a;
transform: translateY(-2px);
}
.calculator-result {
margin-top: 30px;
padding: 20px;
border: 1px solid #d4edda;
background-color: #e9f7ef;
border-radius: 8px;
font-size: 18px;
color: #155724;
text-align: center;
font-weight: bold;
line-height: 1.6;
}
.calculator-result strong {
color: #00509d;
}
function calculateFedExPrice() {
var packageWeight = parseFloat(document.getElementById("packageWeight").value);
var packageLength = parseFloat(document.getElementById("packageLength").value);
var packageWidth = parseFloat(document.getElementById("packageWidth").value);
var packageHeight = parseFloat(document.getElementById("packageHeight").value);
var serviceType = document.getElementById("serviceType").value;
var declaredValue = parseFloat(document.getElementById("declaredValue").value);
var residentialDelivery = document.getElementById("residentialDelivery").checked;
var resultDiv = document.getElementById("fedexResult");
resultDiv.innerHTML = ""; // Clear previous results
// Input validation
if (isNaN(packageWeight) || packageWeight <= 0 ||
isNaN(packageLength) || packageLength <= 0 ||
isNaN(packageWidth) || packageWidth <= 0 ||
isNaN(packageHeight) || packageHeight <= 0 ||
isNaN(declaredValue) || declaredValue < 0) {
resultDiv.innerHTML = "Please enter valid positive numbers for all fields. Declared value cannot be negative.";
return;
}
// — Core Pricing Logic —
var baseRate = 0;
var ratePerLb = 0;
var dimensionalFactor = 139; // Common FedEx dimensional factor for inches/lbs
// Service Type specific rates (illustrative, not actual FedEx rates)
switch (serviceType) {
case "ground":
baseRate = 8.00;
ratePerLb = 0.75;
break;
case "expressSaver":
baseRate = 15.00;
ratePerLb = 1.20;
break;
case "2day":
baseRate = 20.00;
ratePerLb = 1.80;
break;
case "standardOvernight":
baseRate = 30.00;
ratePerLb = 2.50;
break;
default:
resultDiv.innerHTML = "Invalid service type selected.";
return;
}
// Calculate Dimensional Weight
var dimensionalWeight = (packageLength * packageWidth * packageHeight) / dimensionalFactor;
// Determine Billable Weight (greater of actual or dimensional weight)
var billableWeight = Math.max(packageWeight, dimensionalWeight);
// Calculate Weight-based Cost
var weightCost = billableWeight * ratePerLb;
// Calculate Declared Value Surcharge
var declaredValueSurcharge = 0;
if (declaredValue > 100) {
// First $100 is typically free. Then $1.00 per $100 or fraction thereof.
declaredValueSurcharge = Math.ceil((declaredValue – 100) / 100) * 1.00;
}
// Calculate Residential Delivery Surcharge
var residentialSurcharge = 0;
if (residentialDelivery) {
residentialSurcharge = 5.00; // Illustrative flat fee
}
// Total Estimated Cost
var totalCost = baseRate + weightCost + declaredValueSurcharge + residentialSurcharge;
// Display Results
var serviceName = document.getElementById("serviceType").options[document.getElementById("serviceType").selectedIndex].text;
resultDiv.innerHTML =
"
FedEx shipping costs are determined by a variety of factors, making it crucial to understand how each component contributes to the final price. This calculator provides an estimate based on the most common variables.
Key Factors Influencing FedEx Pricing:
Package Weight: This is the actual weight of your package, measured in pounds. Heavier packages generally cost more to ship.
Package Dimensions (Length, Width, Height): Even if a package is light, its size can significantly impact the cost. FedEx uses a concept called "Dimensional Weight" to account for the space a package occupies on a vehicle.
Dimensional Weight: Calculated as (Length x Width x Height) / Dimensional Factor. For FedEx domestic services, a common dimensional factor is 139 (when dimensions are in inches and weight in pounds). If the dimensional weight is greater than the actual weight, FedEx will charge based on the dimensional weight, which becomes the "Billable Weight."
Service Type: The speed and urgency of your shipment play a major role. Services like FedEx Ground are typically more economical for less time-sensitive deliveries, while FedEx Express Saver, 2Day, and Standard Overnight offer faster delivery options at a higher price point.
Origin and Destination: The distance and specific zones between the origin and destination zip codes affect pricing. Our simplified calculator uses illustrative base rates that implicitly account for some distance, but actual FedEx pricing uses detailed zone charts.
Declared Value: If you declare a value for your shipment above a certain threshold (e.g., $100), FedEx charges a fee for additional liability coverage. This protects you in case of loss or damage.
Additional Services and Surcharges: Various optional services and operational surcharges can add to the total cost. Common examples include:
Residential Delivery Surcharge: An extra fee for delivering to a residential address.
Signature Required: An additional charge for requiring a signature upon delivery.
Fuel Surcharge: A variable fee that fluctuates with fuel prices.
Peak Surcharges: Applied during high-volume shipping periods like holidays.
Delivery Area Surcharges: For deliveries to remote or less accessible locations.
How to Use This Calculator:
Simply input your package's actual weight, its length, width, and height in inches. Select your desired FedEx service type and indicate if you require residential delivery or have a declared value. Click "Calculate Estimated Cost" to see a breakdown of the estimated charges.
Important Disclaimer:
This calculator provides an estimate based on simplified rates and common surcharges. It does not account for all possible FedEx surcharges, discounts, or specific contractual rates. For precise pricing, always refer to the official FedEx website or use their online shipping tools.