Bicycle and motorcycle geometry is the collection of key measurements (lengths and angles) that define a particular bike configuration. Primary among these are wheelbase, steering axis angle, fork offset, and trail. These parameters have a major influence on how a bike handles.
Wheelbase is the horizontal distance between the centers (or the ground contact points) of the front and rear wheels. Wheelbase is a function of rear frame length, steering axis angle, and fork offset. It is similar to the term wheelbase used for automobiles and trains.
Wheelbase has a major influence on the longitudinal stability of a bike,[clarification needed] along with the height of the center of mass of the combined bike and rider. Short bikes are much more suitable for performing wheelies and stoppies.
The steering axis angle is called caster angle when measured from vertical axis or head angle when measured from horizontal axis. The steering axis is the axis about which the steering mechanism (fork, handlebars, front wheel, etc) pivots. The steering axis angle usually matches the angle of the head tube.
In bicycles, the steering axis angle is measured from the horizontal and called the head angle; a 90° head angle would be vertical. For example, Lemond offers:
Due to front fork suspension, modern mountain bikes—as opposed to road bikes—tend to have slacker head tube angles, generally around 70°, although they can be as low as 62° (depending on frame geometry setting).
At least one manufacturer, Cane Creek, offers an after-market threadless headset that enables changing the head angle.
In motorcycles, the steering axis angle is measured from the vertical and called the caster angle, rake angle, or just rake; a 0° rake is therefore vertical. For example, Moto Guzzi offers:
The fork offset is the perpendicular distance from the steering axis to the center of the front wheel.
In bicycles, fork offset is also called fork rake. Road racing bicycle forks have an offset of 40–50 mm (1.6–2.0 in).
The offset may be implemented by curving the forks, adding a perpendicular tab at their lower ends, offsetting the fork blade sockets of the fork crown ahead of the steerer, or by mounting the forks into the crown at an angle to the steer tube. The development of forks with curves is attributed to George Singer.
In motorcycles with telescopic fork tubes, fork offset can be implemented by either an offset in the triple tree, adding a triple tree rake (usually measured in degrees from 0) to the fork tubes as they mount into the triple tree, or a combination of the two. Other, less-common motorcycle forks, such as trailing link or leading link forks, can implement offset by the length of link arms.
The length of a fork is measured parallel to the steer tube from the lower fork crown bearing to the axle center.
See also: Caster angle § Trail or trailing
Trail is the horizontal distance from where the front wheel touches the ground to where the steering axis intersects the ground. The measurement is considered positive if the front wheel ground contact point is behind (towards the rear of the bike) the steering axis intersection with the ground. Most bikes have positive trail, though a few, such as the two-mass-skate bicycle and the Python Lowracer, have negative trail.
Trail is often cited as an important determinant of bicycle handling characteristics, and is sometimes listed in bicycle manufacturers' geometry data. Wilson and Papodopoulos argue that mechanical trail may be a more important and informative variable, although both expressions describe very nearly the same thing.
Trail is a function of steering axis angle, fork offset, and wheel size. Their relationship can be described by this formula:
where is wheel radius, is the bicycle head angle measured from the horizontal, is the motorcycle rake angle measured from the vertical, and is the fork offset. Trail can be increased by increasing the wheel size, decreasing or slackening the head angle, or decreasing the fork offset. Trail decreases as head angle increases (becomes steeper), as fork offset increases, or as wheel diameter decreases.
Motorcyclists tend to speak of trail in relation to rake angle. The larger the rake angle, the larger the trail. Note that, on a bicycle, as rake angle increases, head angle decreases.
Trail can vary as the bike leans or steers. In the case of traditional geometry, trail decreases (and wheelbase increases if measuring distance between ground contact points and not hubs) as the bike leans and steers in the direction of the lean. Trail can also vary as the suspension activates, in response to braking for example. As telescopic forks compress due to load transfer during braking, the trail and the wheelbase both decrease.[self-published source?] At least one motorcycle, the MotoCzysz C1, has a fork with adjustable trail, from 89 to 101 mm [3.50 to 3.98 inches].
Mechanical trail is the perpendicular distance between the steering axis and the point of contact between the front wheel and the ground. It may also be referred to as normal trail. In each case, its value is equal to the numerator in the expression for trail.
Although the scientific understanding of bicycle steering remains incomplete, mechanical trail is certainly one of the most important variables in determining the handling characteristics of a bicycle. A trail of zero may give some advantages:
Skilled and alert riders may have more path control if the mechanical trail is lower while a higher trail is known to make a bicycle easier to ride "no hands" and thus more subjectively stable.
Wheel flop refers to steering behavior in which a bicycle or motorcycle tends to turn more than expected due to the front wheel "flopping" over when the handlebars are rotated. Wheel flop is caused by the lowering of the front end of a bicycle or motorcycle as the handlebars are rotated away from the "straight ahead" position. This lowering phenomenon occurs according to the following equation:
Because wheel flop involves the lowering of the front end of a bicycle or motorcycle, the force due to gravity will tend to cause handlebar rotation to continue with increasing rotational velocity and without additional rider input on the handlebars. Once the handlebars are turned, the rider needs to apply torque to the handlebars to bring them back to the straight ahead position and bring the front end of the bicycle or motorcycle back up to the original height. The rotational inertia of the front wheel will lessen the severity of the wheel flop effect because it results in opposing torque being required to initiate or accelerate changing the direction of the front wheel.
According to the equation listed above, increasing the trail and/or decreasing the head angle will increase the wheel flop factor on a bicycle or motorcycle, which will increase the torque required to bring the handlebars back to the straight ahead position and increase the vehicle's tendency to veer suddenly off the line of a curve. Also, increasing the weight borne by the front wheel of the vehicle, either by increasing the mass of the vehicle, rider and cargo or by changing the weight ratio to shift the center of mass forward, will increase the severity of the wheel flop effect. Increasing the rotational inertia of the front wheel by increasing the speed of the vehicle and the rotational speed of the wheel will tend to counter the wheel flop effect.
A certain amount of wheel flop is generally considered to be desirable. Bicycle Quarterly magazine states, "A bike with too little wheel flop will be sluggish in its reactions to handlebar inputs. A bike with too much wheel flop will tend to veer off its line at low and moderate speeds."
Forks may be modified or replaced, thereby altering the geometry of the bike.
Increasing the length of the fork, for example by switching from rigid to suspension, raises the front of a bicycle and thus decreases its head angle. Lengthening the fork would have the opposite effect on the rake of a motorcycle, since rake is measured in the opposite direction.
A rule of thumb is a 10 mm change in fork length gives a half-degree change in the steering axis angle.
Increasing the offset of a fork reduces the trail, and if performed on an existing fork by bending without lengthening the blades, shortens the fork. 
The state of North Dakota (USA) actually has minimum and maximum requirements on rake and trail for "manufacture, sale, and safe operation of a motorcycle upon public highways."
"4. All motorcycles, except three-wheel motorcycles, must meet the following specifications in relationship to front wheel geometry:
Manufacturer's specifications must include the specific rake and trail for each motorcycle or class of motorcycles and the terms "rake" and "trail" must be defined by the director by rules adopted pursuant to chapter 28–32."
For other aspects of geometry, such as ergonomics or intended use, see the bicycle frame article. For motorcycles the other main geometric parameters are seat height and relative foot peg and handlebar placement.
GeoMetron Details: 62–63.5° head angle, dependent upon shock and fork length.
Rake is the angle, in degrees, that the steering head of the frame...is tilted back from the vertical
The curved front forks of a bicycle are a George Singer patent, and still in use today.
the distance between the ground contact patch and the steering axis as measured at right angles to that axis. The SAE refer to [this] as 'Mechanical Trail'
normal trail is the perpendicular distance between the front contact point and the steering head axis