# Engine Layouts: Inline, V and Flat

> Why engines come as inline-fours, straight-sixes, V8s and boxers: how cylinder arrangement affects size, smoothness, firing order and where the engine fits in the car.

- Level: Intermediate · about 12 minutes · Engine
- Lesson page: https://autoverse.maxrecursion.dev/topics/engine-layouts

## What you will learn

- Describe inline, V and horizontally opposed (flat) cylinder arrangements
- Calculate the firing interval of a four-stroke engine from its cylinder count
- Explain primary and secondary balance in simple terms and why an inline-four needs balance shafts at larger sizes
- Relate engine layout to packaging: transverse versus longitudinal mounting and centre of gravity

## The idea, in plain language

Most engines have between three and eight cylinders, and designers can line them up in different ways. An inline (or straight) engine puts every cylinder in one row. A V engine splits them into two rows that share one crankshaft, making a shorter engine. A flat or boxer engine lays the two rows horizontally, opposite each other, which keeps the engine low.

The layout affects how smooth the engine feels, how much space it needs and how it sounds. A straight-six is naturally very smooth. A four-cylinder is compact and cheap but has a slight buzz at high revs. A V8 packs lots of cylinders into a short block.

Layout also decides where the engine can go. Small cars usually mount an inline-four sideways (transversely) to drive the front wheels, while larger rear-drive cars often mount the engine front-to-back (longitudinally).

## The engineering explanation

In a four-stroke engine each cylinder fires once every 720° of crankshaft rotation, so evenly spaced firing gives an interval of 720° / n: 180° for four cylinders, 120° for six, 90° for eight. Shorter intervals mean overlapping power strokes and smoother torque delivery.

Balance is about the inertial forces of the reciprocating parts. Primary forces vary once per crank revolution; secondary forces vary at twice crank speed because the connecting rod's angularity makes the piston move faster in the top half of its stroke than in the bottom half. An inline-four cancels primary forces and couples, but its secondary forces add up, giving a vertical shake at twice engine speed that grows with displacement and the square of rpm; larger fours often use twin contra-rotating balance shafts. An inline-six is inherently balanced in both primary and secondary forces and couples. A flat-four cancels the primary forces between opposed pistons, but leaves small rocking couples because the cylinders are offset along the crank.

V engines are pairs of inline banks on a common crank. Bank angle and crank-pin arrangement set the firing intervals: a 90° V8 with a cross-plane crank fires evenly and can be fully balanced with counterweights, producing its characteristic uneven exhaust pulse per bank; a flat-plane V8 is lighter and revs more freely but has inline-four-like secondary shake. A 60° V6 suits even firing with offset crank pins.

Packaging is the other driver. Transverse inline-fours fit between the front wheels alongside the gearbox for front-wheel drive. Long inline-sixes are usually longitudinal. Flat engines lower the centre of gravity but are wide, which can constrain steering lock and exhaust routing.

## Step by step

1. **Inline (straight) engines.** All cylinders in one row above a single crankshaft. Simple, cheap and easy to work on. *In engineering terms:* One cylinder head, one exhaust manifold and straightforward valvetrain. Length grows with cylinder count, which limits inline-sixes to longitudinal installations in most cars.
2. **V engines.** Two rows of cylinders at an angle share one crankshaft, making a short, compact engine. *In engineering terms:* Two connecting rods often share each crank pin. Common bank angles are 60° (V6/V12) and 90° (V8). Two heads and two exhaust banks add cost and complexity.
3. **Flat (boxer) engines.** The two rows lie flat and opposite, like boxers trading punches. The engine sits low in the car. *In engineering terms:* Opposed pistons on separate crank pins move in mirror image, cancelling primary forces. Low height helps centre of gravity; the width can intrude on suspension and steering space.
4. **Firing interval and smoothness.** More cylinders means more power pulses per turn of the crank, so the engine feels smoother. *In engineering terms:* Even firing interval = 720° / n for a four-stroke. With six or more cylinders the power strokes overlap, so crankshaft torque never falls to zero between firings.

## Key concepts

- **Firing interval**: Crank angle between successive power strokes in an evenly firing four-stroke engine. (`θ = 720° / n`)
- **Primary balance**: Cancellation of inertial forces that vary once per crankshaft revolution.
- **Secondary balance**: Cancellation of inertial forces at twice crank speed, caused by connecting-rod angularity. Inline-fours are unbalanced here.
- **Balance shaft**: Counter-rotating weighted shaft(s) that cancel an engine's residual shaking forces, typically turning at twice crank speed in a four-cylinder.

## Common misconceptions

- **Myth:** More cylinders always means more power. **Reality:** Power depends mainly on how much air the engine can burn fuel with each second. Cylinder count mostly affects smoothness, rev potential and packaging.
- **Myth:** A boxer engine is perfectly balanced. **Reality:** A flat-four cancels primary forces but still has small rocking couples because opposing cylinders are offset along the crankshaft. A flat-six is much closer to perfect.
- **Myth:** V engines are always smoother than inline engines. **Reality:** An inline-six is inherently better balanced than many V6s; smoothness depends on the specific angle, crank and firing order.

## In the real world

- A three-cylinder city car idles with a characteristic throb because its 240° firing interval leaves gaps between power strokes.
- Many front-wheel-drive cars use transverse inline-fours so the engine and gearbox fit side by side between the front wheels.
- Sports cars with flat engines mount them low to reduce body roll and weight transfer.

## Common questions

### What is the difference between an inline and a V engine?

An inline engine has all its cylinders in one row along the crankshaft. A V engine splits them into two banks set at an angle that share one crankshaft, which makes an engine with many cylinders much shorter, at the cost of extra width and a second cylinder head.

### Why is a straight-six engine so smooth?

In an inline six the forces and rocking couples from the pistons and connecting rods cancel one another out almost completely, so the engine runs smoothly without needing balance shafts.

### What is a boxer (flat) engine?

A boxer engine lays its cylinders flat in two opposed banks, and the pistons in each opposite pair move outward and inward together. It is low and wide, which lowers the centre of gravity, and the opposing pistons cancel many of each other's vibrations.

## The story behind it

### Felix Wankel (1957)

Replaced the piston engine with a rotary design that ran in 1957. Wankel left school in 1921 without the Abitur and could not afford university, so he taught himself technical subjects and ran an unofficial machine shop in a backyard shed in Heidelberg. He conceived his engine in 1924 and won his first patent in 1929; the first running prototype, built at NSU, ran on 1 February 1957. The NSU Wankel-Spider entered production in 1964, and the Ro 80 saloon was named German Car of the Year for 1968. He never held a driving licence, because he was extremely near-sighted.

Sources: [Wikipedia: Felix Wankel](https://en.wikipedia.org/wiki/Felix_Wankel)

## Related lessons

- [The Four-Stroke Cycle](https://autoverse.maxrecursion.dev/topics/four-stroke-cycle)
- [Pistons, Connecting Rods and the Crankshaft](https://autoverse.maxrecursion.dev/topics/pistons-and-crankshaft)
- [Drivetrain Layouts](https://autoverse.maxrecursion.dev/topics/drivetrain-layouts)
- [Valves, Camshafts and Valve Timing](https://autoverse.maxrecursion.dev/topics/valves-and-camshaft)

## Further reading

- [The engine](https://www.howacarworks.com/basics/the-engine) — How a Car Works

---

Original AutoVerse lesson (AutoVerse original content). Simulation values in AutoVerse labs are illustrative. Source page: https://autoverse.maxrecursion.dev/topics/engine-layouts
