Luggage linear inches calculator
A 22 × 14 × 9 inch carry-on measures 45 linear inches, or 114.3 cm, which just meets a 45-inch limit. Enter your bag's three outer sides and, if you like, the limit to see the headroom. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Bag length
- 22
- Width
- 14
- Height
- 9
- Limit
- 45
- Linear
- 45 in
- Linear in
- 45
- Linear cm
- 114.3
- Over by
- 0
Airlines and tour operators often quote baggage size as linear inches or linear centimetres: the sum of a bag’s length, width, and height rather than volume alone. Before you pack or buy a new suitcase, this luggage linear inches calculator adds those three outer dimensions, reports the total in your chosen unit and always also in inches and centimetres, and optionally compares the result to a stated limit such as forty-five linear inches for a carry-on or one hundred fifteen linear centimetres for a checked bag. Enter positive length, width, and height; non-positive dimensions are rejected as invalid input so a missing measurement never masquerades as a free pass at the gate.
What you can do with it
Carry-on and checked bag pre-check
Travellers enter outer L×W×H and a published linear limit to see pass or fail and how many inches or centimetres of headroom remain before the airport sizer.
Suitcase and backpack product pages
E-commerce sites compute linear inches and centimetres from catalog dimensions so shoppers can filter bags that meet a chosen airline or tour-operator rule.
Travel apps and packing checklists
Trip planners store bag dimensions once, re-check against different carrier limits, and show dual-unit totals without reimplementing L+W+H in every client.
FAQ
What happens if a dimension is zero or negative?
Non-positive length, width, or height is rejected because those values are not valid bag dimensions.
Can I check against an airline size limit?
Yes. Optional field limit is the maximum allowed linear measure in the same unit.
Is the luggage linear inches calculator free?
The browser tool runs free on your device.
Does it look up my airline’s official baggage policy?
No. You supply the numeric limit that matches the fare rules you care about. The calculator only sums dimensions, converts in/cm, and compares to that limit.
Should I include wheels and handles?
Yes, whenever the airline or tour operator defines its limit that way. Measure the outer size including wheels and fixed handles. Soft bags are usually quoted at their full expanded size unless the policy says otherwise.
Related tools
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/travel/luggage-linear-inches \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"length":22,"width":14,"height":9}'const res = await fetch("https://api.kit.forhosting.com/travel/luggage-linear-inches", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"length": 22,
"width": 14,
"height": 9
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/travel/luggage-linear-inches",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"length": 22,
"width": 14,
"height": 9
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/travel/luggage-linear-inches", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"length":22,"width":14,"height":9}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"length":22,"width":14,"height":9}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/travel/luggage-linear-inches", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"length": 22,
"width": 14,
"height": 9
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "travel.luggage_linear_inches",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
How linear inches work and which dimensions to measure
Linear measure for luggage is simply length plus width plus height of the bag as it will go through the sizer or onto the belt. Measure outer dimensions including wheels and fixed handles when that is how the airline or tour operator defines the limit; soft sides that compress are still usually quoted at their full expanded size unless the policy says otherwise. Non-positive length, width, or height is a hard error under the product contract because a zero or negative side is not a physical bag. Non-positive limit, when provided, is likewise rejected. Send required fields length, width, and height as JSON numbers or numeric strings in the same unit. Optional unit accepts in for inches (the default) or cm for centimetres; aliases units, measure_unit, and dim_unit are accepted. Aliases l, len, and depth map to length; w and breadth to width; h and ht to height. Optional limit (aliases max_linear, max, airline_limit, max_inches) is the maximum allowed linear total in that same unit—for example forty-five for a common United States carry-on linear-inch rule, or one hundred fifteen for a metric checked-bag ceiling. Magnitude caps keep arithmetic finite on the Worker isolate. Identical inputs always produce identical JSON: pure addition and a fixed inch-to-centimetre factor of two point five four, with no network, no random seed, and no wall clock.
Reading linear, dual-unit fields, and limit pass or fail
On success the response echoes length, width, height, and unit after stable rounding, plus linear equal to the sum in the input unit. linear_in and linear_cm always present the same physical size in inches and centimetres so a United States carrier page and a European packing list can share one API call. The formula field states linear equals length plus width plus height, and method is always sum_dimensions_linear_measure for stable branching in clients. When you supply limit, the response also includes within_limit and meets_limit as the same boolean, over_by as how many units the bag exceeds the ceiling when it fails, and under_by as how much headroom remains when it passes. Use linear alone for a quick total; use linear_in versus linear_cm when you need both regional displays; use the limit fields when a checkout flow or packing checklist must show pass or fail next to the airline number the traveller typed. Missing required dimensions, non-finite values, and non-positive sides all fail with invalid_input and are not charged after the engine rejects the request. This endpoint does not fetch brand-specific policies; you or your product supply the numeric limit that matches the fare rules in force.
API usage, pricing, travel workflows, and practical limits
Call the free in-browser luggage linear inches calculator for packing day, gift shopping for a new carry-on, and classroom demos of unit conversion without installing a spreadsheet. For multi-bag parties, call once per bag so each piece stays within its own class limit. Send a JSON body with length, width, height, optional unit, and optional limit (or the documented aliases). Use the prepaid API when a travel portal, baggage-fee estimator, suitcase product page, or packing app needs a stable contract under KIT balance at $0.002 per successful item; validation failures never consume balance. Pair this endpoint with weight converters or trip planners when the next question is bag weight or itinerary cost, but keep size checks here so the arithmetic stays auditable. Authors shipping SDKs can map linear, linear_in, linear_cm, and within_limit into tables that show pass or fail beside the three sides—the same shape travellers see on airline size charts at the airport counter.
Technical questions
How do I calculate luggage linear inches?
Send JSON with positive length, width, and height (unit defaults to inches). The response includes linear as L+W+H, plus linear_in and linear_cm.