Home › Tools

Dog Ramp Length & Angle Calculator

Enter the height your dog needs to reach and the steepest incline you'll accept. The calculator works out the minimum ramp length (measured along the slope) and the floor space the ramp will occupy (the horizontal run).

How the math works

A ramp, the floor, and the height form a right triangle. Two formulas do all the work:

Worked examples (check us)

HeightMax angleRamp length neededFloor runWhat it's for
24 in20°70.2 in (5 ft 10 in)65.9 inTypical SUV cargo floor
30 in22°80.1 in (6 ft 8 in)74.3 inTall truck bed / high bed
18 in18°58.2 in (4 ft 10 in)55.4 inSofa or low bed, gentle senior slope
24 in18°77.7 in (6 ft 6 in)73.9 in24-inch SUV, gentler angle for arthritic dogs
18 in20°52.6 in (4 ft 5 in)49.5 in18-inch sofa or bed at the standard senior angle

Try them in the calculator above — the results match to the tenth of an inch.

Shopping for a specific vehicle? See exactly how long a ramp a 30-inch SUV needs. Prefer the whole table at once? The dog ramp length chart lists every height from 12 to 36 inches at 18°, 20° and 25°. Choosing an angle for sore joints? Read how to pick the kindest angle for arthritic dogs.

How to measure the height correctly

  1. Car: measure from the ground to the surface your dog will step onto (cargo floor or seat edge), with the vehicle on level ground.
  2. Bed or sofa: measure to the top of the mattress or cushion — the compressed height when the dog steps on it, if the cushion is soft.
  3. Steps / deck: measure the total rise from ground level to the landing, not a single step.
  4. Add nothing for safety — the angle you choose already builds in the margin. Instead, if the result lands between two ramp sizes, choose the longer one.

Choosing your maximum angle

The senior standard: how this calculator judges an angle

Every number on this page is judged against one standard, and it is worth stating plainly because most ramp advice online is not written for old dogs. The senior band is 18–25°. Aim for 20°. Treat 25° as a ceiling, not a target. Here is the reasoning, so you can check it rather than take it on faith:

That standard has a condition-by-condition breakdown in our guide to the best ramp angle for arthritic dogs, and every height in one table in the dog ramp length chart.

Why wheelchair ramp ratios (1:12) are wrong for dogs

Some generic calculators borrow the wheelchair-building ratio 1:12 — one inch of rise per twelve inches of run, about 4.8°. Run a dog climb through it and it collapses: a 24-inch SUV floor at 1:12 would need about 289 inches of ramp — roughly 24 feet. No car ramp, and almost no room, works that way, because the ratio answers a different problem. A wheelchair rolls: its wheels bear the weight continuously, the occupant never has to flex a painful joint against the slope or brake a descent with their forelimbs, and the ratio is a legal accessibility standard for public buildings, not a comfort finding for animals. Dogs walk on four legs, can grip a surface, and routinely handle slopes a wheelchair cannot — the failure mode for a dog is not rolling backward, it is joint load and lost confidence, which arrive around 25–30°, not 5°. So this site does not use building ratios at all: it uses the 18–25° senior band above, derived from what the climb actually asks of the dog.

Footprint first: the floor run decides whether a ramp fits

Owners shop by ramp length and then discover the ramp does not fit the room or the parking spot. The number that settles fit is the second result this calculator gives you: the horizontal run — how far the ramp reaches out from the bed, sofa or vehicle while it is in use, computed as run = height ÷ tan(angle). The run is always a little shorter than the ramp itself, but at senior angles it is still most of it:

Angle-by-height tables: beds, cars and trucks

The calculator above answers one height at a time. These tables answer the three climbs owners ask about most, at all three senior angles, using the same formulas (length = height ÷ sin(angle); run = height ÷ tan(angle), rounded to the nearest inch). If your result lands between two ramp sizes, choose the longer one.

Bed heights (18–30 in)

HeightLength at 18° (gentle)Length at 20° (recommended)Floor run at 20°Length at 25° (ceiling)
18 in58 in53 in49 in43 in
20 in65 in58 in55 in47 in
22 in71 in64 in60 in52 in
24 in78 in70 in66 in57 in
26 in84 in76 in71 in62 in
28 in91 in82 in77 in66 in
30 in97 in88 in82 in71 in

Measure floor to the top of the mattress, compressed. A 24-inch bed at the recommended 20° needs about 70 inches — exactly the walkway of the one furniture-grade bed ramp verified on this site; taller beds outgrow it and are covered honestly in the bed ramp guide.

Car and SUV load heights (26–30 in)

HeightLength at 18° (gentle)Length at 20° (recommended)Floor run at 20°Length at 25° (ceiling)
26 in84 in76 in71 in62 in
27 in87 in79 in74 in64 in
28 in91 in82 in77 in66 in
29 in94 in85 in80 in69 in
30 in97 in88 in82 in71 in

Measure ground to the cargo floor or seat edge your dog will step onto, on level ground. The single most-asked case gets its own deep dive: ramp length for a 30-inch SUV.

Truck heights (34–40 in)

HeightLength at 18° (gentle)Length at 20° (recommended)Floor run at 20°Length at 25° (ceiling)Longest verified ramp (87 in) gives
34 in110 in99 in93 in80 inabout 23.0° — inside the senior band
36 in116 in105 in99 in85 inabout 24.4° — inside the senior band
38 in123 in111 in104 in90 inabout 25.9° — steeper than the 25° ceiling
40 in129 in117 in110 in95 inabout 27.4° — steeper than the 25° ceiling

Trucks state the honest limit of the senior standard: at 20° a 34-inch tailgate needs about 99 inches of ramp and a 40-inch one about 117 inches — longer than any ramp verified on this site (the longest, a telescoping model covered in our telescoping ramps guide, extends to 87 inches). So for trucks the working answers are the ones the last column implies: the longest ramp plus a height cut (curb, driveway apron, or loading from the lowest point of a sloped spot) to pull the real angle back into the band — or, for a dog who still has some climb in them, a lift harness assist for that one tall climb instead of a ramp that asks 27° of arthritic hips. Do not solve a tall truck by buying a short ramp and accepting the angle.

Ramps that match common results

Affiliate disclosure: As an Amazon Associate I earn from qualifying purchases. Links marked † are affiliate links. If you buy through them we may earn a commission at no extra cost to you. It never changes which ramps we recommend — sizing and angle come first. Prices checked Oct 2026 — check retailer for current price.

Frequently asked questions

What angle is best for a senior dog ramp?

Around 18–20° for most senior and arthritic dogs. 25° is the upper limit we suggest; steeper than that, dogs commonly refuse, slide, or leap off the side. Lower is always kinder — the only cost is a longer ramp and more floor space.

How long should a ramp be for a car?

It depends on your vehicle's height. For a 24-inch cargo floor at 20°, you need about 70 inches of ramp. Measure your own vehicle — SUVs range roughly from 24 to 32 inches — and run the calculator before you buy.

Is ramp length measured along the slope or along the floor?

Manufacturers list the length along the slope (the board itself). This calculator shows both: “ramp length” to compare with product listings, and “floor run” so you know how much space it needs in your room or driveway.

My space is too small for the recommended length. What now?

Lower the target if you can (a lower car entry point, or stepping onto a low platform first), use a folding ramp that stores elsewhere but deploys full-length, or consider a lift harness for assisted climbs instead. Don't simply buy the short ramp — a ramp the dog won't use helps no one.

Does my dog's weight change the length?

Weight doesn't change the geometry, but it changes which ramp you should buy: check the rated capacity (choose at least 1.5× your dog's weight for stability) and width — large seniors do best on ramps 18–20 inches wide or wider.

Why is a wheelchair ramp slope (1:12) wrong for a dog ramp?

Because it solves a different problem. 1:12 (about 4.8 degrees) is a building accessibility ratio for wheeled mobility — at that slope a 24-inch climb would need roughly 24 feet of ramp, which no car or room allows. Dogs walk rather than roll: they grip the surface and flex their joints against the slope, so their comfort limit is set by joint load and confidence, not rolling resistance. That is why this site judges dog ramps against a senior band of 18-25 degrees, with 20 degrees recommended, instead of building ratios.

How much floor space will the ramp take up?

Slightly less than its length — the calculator's second result, the horizontal run (height divided by tan(angle)). A 24-inch climb at 20 degrees needs about 66 inches of clear floor; a 30-inch SUV climb reaches about 82 inches behind the vehicle. Measure that run where the ramp will actually stand before you buy: a folding ramp stores small but deploys at full length.