Calculators

Landscape Timber & Railroad Tie Calculator

Count the landscape timbers, 6×6s or railroad ties you need for a raised bed, step, edging or low wall - plus the spikes to pin them together.

How many timbers or ties do I need?

Enter the total run of wall or bed edge in feet (for a bed, add up all four sides), the height you want in inches and the size of timber, then press Calculate.

Results are estimates for planning, and any prices are rough US ranges. Bag sizes, material weights and prices vary by supplier and region - confirm the final quantity before you order.

Good to know

Building with timbers and ties

Simple guidance for building square, solid beds and low walls with landscape timbers or ties.

Choose your timber

Landscape timbers and 4×4s add about 3½ in per course, 6×6s about 5½ in, and railroad ties about 7 in laid flat. Decide the look and height first.

Stagger and spike

Overlap joints like brickwork, then drill and drive 10-12 in landscape spikes or rebar through each course every 2 ft or so.

Skip creosote for food

Old railroad ties are soaked in creosote, which isn’t recommended near edible crops. Use cedar or ground-contact treated lumber for vegetable beds.

Timber project essentials

Our picks

As an Amazon Associate, PlantMapper may earn from qualifying purchases. Prices and availability are set by Amazon.

← All garden calculators

Common questions

How many landscape timbers do I need for a raised bed?

For a 4 × 8 ft bed using 8 ft timbers, each course takes two full timbers for the long sides and one cut in half for the ends - three per course, covering 24 feet of run. With 4×4 timbers (about 3½ inches each), three courses give a bed roughly 10½ inches high from nine timbers. Buy one or two spares.

Are railroad ties safe for vegetable gardens?

Used railroad ties are treated with creosote, a coal-tar wood preservative that the EPA has restricted for residential use, and they are not recommended for beds where you grow food - they can also leach in hot weather. For edible beds use untreated cedar or redwood, or modern pressure-treated lumber rated for ground contact (current ACQ and copper azole treatments are widely considered fine for garden beds).

How do I fasten landscape timbers together?

Stagger the joints between courses, then drill a pilot hole and drive a 10-12 inch landscape spike or a length of #4 rebar down through each course into the one below, about every 2 feet and near each end. On the first course, drive rebar 18-24 inches into the ground to stop the wall sliding. Corner brackets or long structural screws also work well.

How tall can a timber retaining wall be?

A low timber wall up to about 2 feet, with staggered joints, spikes and gravel drainage behind it, is a reasonable DIY job. Taller walls hold back a lot of weight, especially wet soil, and need deadmen (tie-backs) anchored into the hill and proper drainage. Many towns require a permit or an engineer for retaining walls over about 3-4 feet, so check locally.

More in Calculators

See everything in Calculators →