Skip to content
ScienceQuest
Chemistry Visualiser Undergraduate

R and S Configuration Explorer

Assign R and S configuration at a stereocentre: rank the groups by the Cahn-Ingold-Prelog rules step by step, then turn it in 3D to read R or S.

Visualiser

Drag the molecule to turn it, or use the arrow keys. Space plays and pauses.

Turns the lowest priority group to the back and traces the arrow from 1 to 2 to 3.

(S)-lactic acid, turned so that H, priority 4, is side-on. OH (1) at 10 o’clock, COOH (2) at 11 o’clock and CH₃ (3) at 6 o’clock. The configuration is S; turn H to the back to read it.

Configuration
S, because (r₁ × r₂) · r₃ is positive: with H, priority 4, pointing away, OH → COOH → CH₃ runs anticlockwise.
S
Molecule
(S)-lactic acid is L-(+)-lactic acid, the form made in muscle.
(S)-lactic acid
Priority 1
OH (hydroxyl) is bonded through oxygen, atomic number 8, and sits on the left bond of the Fischer projection.
OH
Priority 2
COOH (carboxylic acid) is bonded through carbon, atomic number 6, and sits on the top bond of the Fischer projection.
COOH
Priority 3
CH₃ (methyl) is bonded through carbon, atomic number 6, and sits on the bottom bond of the Fischer projection.
CH₃
Priority 4
H (hydrogen) is bonded through hydrogen, atomic number 1, and sits on the right bond of the Fischer projection.
H
Decided at
Sphere 1 is the four atoms bonded to the stereocentre. The last tie was settled 2 bonds out, at the first point of difference.
sphere 2
Triple product
(r₁ × r₂) · r₃ for unit bond vectors to the groups ranked 1, 2 and 3. Negative means R and positive means S, and at a perfect tetrahedron its size is always 4/(3√3) = 0.7698.
0.7698
Parameters

Places a real molecule’s groups as its usual Fischer projection draws them, then turns it to be read.

In the Fischer projection the top bond points away from you.

The right-hand bond points toward you.

The bottom bond points away from you.

The left-hand bond points toward you.

Any single swap turns R into S, and S into R.

Ranking, step by step

  1. Sphere 1: Atoms bonded to the stereocentre, by atomic number: O 8 in OH, C 6 in COOH, C 6 in CH₃, H 1. So OH ranks 1 and H ranks 4; COOH and CH₃ tie.
  2. Sphere 2: COOH and CH₃ tie, so compare the atoms 2 bonds from the stereocentre: COOH (O, O, O); CH₃ (H, H, H). A double bond counts the atom at its far end twice, and a triple bond three times. At the first difference O beats H, so COOH ranks 2 and CH₃ ranks 3.
  3. Reading: Turn H, priority 4, to the back: OH → COOH → CH₃ runs anticlockwise, so the configuration is S.

Citing this tool

Last updated . Add the date you accessed it as well, which a citation of a page that can change asks for. If a specific result matters, cite the permalink from the tool’s share row instead of this page: it reproduces the exact parameters.

Teaching with this? You can put it on a class page or LMS for free, with no ads inside the frame. Get the embed code.

The equation

(r⃗1×r⃗2)⋅r⃗3<0  ⇒  R,>0  ⇒  S(\vec{r}_1 \times \vec{r}_2) \cdot \vec{r}_3 < 0 \;\Rightarrow\; \text{R}, \qquad > 0 \;\Rightarrow\; \text{S}

Cahn, Ingold and Prelog (1966); IUPAC 2013, rule P-92

What is R and S configuration?

R and S name the two mirror-image ways four different groups can be arranged around a stereocentre, which is usually a carbon atom. Rank the groups 1 to 4 by the Cahn-Ingold-Prelog rules, turn the molecule so that group 4 points away from you, and follow 1 to 2 to 3: clockwise = R and anticlockwise = S. R comes from the Latin rectus, right, and S from sinister, left. Written with vectors, if r₁, r₂ and r₃ are the bond directions to groups 1, 2 and 3, the centre is R when (r₁ × r₂) · r₃ < 0 and S when that product is positive, and that is how the explorer decides it.

The two arrangements are enantiomers: the same atoms joined in the same order, which cannot be laid on top of each other however they are turned, like a left hand and a right hand. A carbon carrying four different groups, called a chiral centre or stereocentre, is the commonest source of this handedness. Its four bonds point to the corners of a tetrahedron, 109.5° apart, the shape the VSEPR Molecular Geometry visualiser builds for four electron domains.

Ranking the groups: the Cahn-Ingold-Prelog rules

The ranking comes from the sequence rules of Robert Cahn, Christopher Ingold and Vladimir Prelog, first published in 1956, set out in full in 1966, revised by Prelog and Günther Helmchen in 1982 and restated as rule P-92 of the IUPAC 2013 recommendations. For the molecules most courses use, one rule does all the work: the higher atomic number ranks higher.

  • Start at the atoms bonded to the stereocentre. Compare their atomic numbers, which the periodic table gives: bromine 35 beats chlorine 17, which beats oxygen 8, nitrogen 7, carbon 6 and hydrogen 1.
  • Break a tie by moving out one bond. For each tied atom, list the three atoms it carries, highest first, as a set such as (O, H, H), and compare the sets atom by atom.
  • Stop at the first point of difference. The first atom that differs decides, and nothing further out counts. Only if the sets match do you move out another bond, following the higher-ranked branch first.

The first-point rule is the one that catches people out. CH₂OH carries (O, H, H) and C(CH₃)₃ carries (C, C, C), so CH₂OH ranks higher: its single oxygen beats the first carbon, and the two hydrogens after it never come into play. Adding the atomic numbers instead, 8 + 1 + 1 = 10 against 6 + 6 + 6 = 18, gives the opposite answer, and it is wrong.

Some ties last longer. The stereocentre of 3-methylhexane carries H, CH₃, an ethyl group and a propyl group. The three carbons tie at the first sphere. At the second, CH₃ carries (H, H, H) and drops to 3, but ethyl and propyl both carry (C, H, H). At the third sphere the CH₃ at the end of ethyl carries (H, H, H) while the next CH₂ of propyl carries (C, H, H), so propyl ranks 1 and ethyl 2. Load 3-methylhexane to see the step list need all three spheres.

Double bonds, duplicate atoms and phantom atoms

A double bond is counted as two single bonds. Each end of it is given a duplicate of the atom at the other end, so the carbon of a C=O carries the oxygen twice, and a triple bond gives each end two duplicates. That is why COOH carries (O, O, O): its carbonyl oxygen counts twice and its OH oxygen once. CHO carries (O, O, H) and CH₂OH carries (O, H, H), so the three rank COOH, then CHO, then CH₂OH, which is what settles glyceraldehyde.

A duplicate atom carries nothing further: its empty places are filled with phantom atoms of atomic number zero, and so are the places that lone pairs take on an oxygen or a nitrogen. The explorer’s step list writes a phantom atom as 0. Phenyl and ethynyl both carry (C, C, C) at their first carbon. One bond further out, phenyl’s two ring carbons carry (C, C, H) each, while ethynyl has one (C, C, H) and two duplicates carrying (0, 0, 0), so phenyl ranks higher. Neither group is bigger in any sense that matters; the rule simply reads the next sets.

Using the explorer

The explorer opens on (S)-lactic acid and plays the assignment once: the molecule turns until the hydrogen, priority 4, is at the back, and an arrow traces 1 to 2 to 3. With reduced motion set, it opens on that finished view instead. Press Play to run the assignment again from any angle, drag the molecule or use the arrow keys to turn it yourself, and press Fischer view to see it as a Fischer projection.

  • Molecule loads a real molecule in its natural form: lactic acid, alanine, glyceraldehyde, butan-2-ol, bromochlorofluoromethane, cysteine, serine, phenylalanine, 1-phenylethanol or 3-methylhexane.
  • Top, right, bottom and left group place the four groups by their positions in the Fischer projection, so you can copy a projection from a worksheet. There are 28 groups to choose from, from H to iodine. Give two places the same group to see a carbon that is not a stereocentre.
  • Swap two groups exchanges any pair, which always flips R and S.
  • Ranking, step by step lists every comparison: the atomic numbers at sphere 1, what each tied group carries further out, and the first difference that settles it.

Each group’s first atom is coloured by element and numbered by priority. Bonds are drawn the way you would draw them on paper from the current angle: a solid wedge toward you, a hashed wedge away from you and a plain line across. The caption under the molecule says how to read the arrow from where it is turned, directly when 4 is at the back and reversed when 4 points at you, and asks you to turn it when 4 is side-on. The readouts give the configuration, the molecule’s full name, the four priorities, the sphere at which the last tie was settled, and the triple product.

Worked example: (S)-lactic acid

The explorer opens with COOH at the top of the Fischer projection, H on the right, CH₃ at the bottom and OH on the left.

  • Atoms on the stereocentre: O (8) > C (6) = C (6) > H (1). OH ranks 1 and H ranks 4, and COOH and CH₃ tie on carbon.
  • One bond further out, COOH carries (O, O, O), counting the C=O oxygen twice, and CH₃ carries (H, H, H). O beats H at the first atom, so COOH ranks 2 and CH₃ ranks 3.
  • Turned with H at the back, OH sits at 3 o’clock, COOH at 11 o’clock and CH₃ at 7 o’clock, with H peeping out behind the carbon at 5, opposite COOH, where the arrow never goes. From 3 up to 11 and round to 7 is anticlockwise, so the configuration is S.
  • From the Fischer projection instead: OH at 9 o’clock, COOH at 12 and CH₃ at 6 are drawn clockwise, but H is on a horizontal bond, pointing at you, so the answer is the reverse, S again.
  • As vectors, r₁ = (−0.816, 0, 0.577) points to OH, r₂ = (0, 0.816, −0.577) to COOH and r₃ = (0, −0.816, −0.577) to CH₃. Then r₁ × r₂ = (−0.471, −0.471, −0.667) and (r₁ × r₂) · r₃ = +0.770, which is positive, so S.

This is (S)-lactic acid, the L-(+) form made in muscle, and the readout names it. Swap OH and H and every ranking step stays the same; only the reading changes, because the arrow now runs clockwise, and the molecule becomes (R)-lactic acid. The triple product is the same size, 0.770, at every arrangement of a perfect tetrahedron, so its sign is all that carries information.

Reading R and S from a Fischer projection

Emil Fischer’s projection, from 1891, draws a stereocentre as a cross: the horizontal bonds come toward you and the vertical bonds go away. Press Fischer view and the explorer turns to exactly that view, with the horizontal bonds drawn as wedges and the vertical ones as dashes.

  • Lowest priority on a vertical bond: it already points away, so read 1 to 2 to 3 as drawn.
  • Lowest priority on a horizontal bond: it points at you, so read the turn and reverse it.
  • Moving the drawing: turning a Fischer projection through 180° in the plane of the page keeps its configuration, while turning it through 90° gives the enantiomer, because the horizontal and vertical bonds trade places.

D-glyceraldehyde shows the reversal. CHO is at the top, OH on the right, CH₂OH at the bottom and H on the left. OH at 3 o’clock, CHO at 12 and CH₂OH at 6 are drawn anticlockwise, but H is on a horizontal bond, so the answer is clockwise: R. Load glyceraldehyde, press Fischer view, and the caption makes the same reversal in words.

Why swapping two groups flips R and S

Exchanging any two groups turns a stereocentre into its mirror image. In the vector rule a swap either exchanges two of the vectors in the triple product or puts the bond to group 4 in place of one of them, and either way the sign changes. So one swap turns R into S, a second swap puts it back, and rotating three groups round, which is two swaps, leaves it unchanged.

That gives a shortcut when the lowest priority sits in an awkward place on paper: swap it with whichever group points away, read the configuration, and then reverse your answer, because you made one swap. Turning the whole molecule never changes R or S, since no bond is broken, which is why the explorer gives one answer at every angle. A ring in the Cyclohexane Chair Conformation Explorer makes the same point: flipping one chair into the other moves groups between axial and equatorial positions without changing the configuration at any carbon.

R and S, D and L, and the sign of rotation

R and S describe the arrangement. Whether a sample turns plane-polarised light clockwise, written (+), or anticlockwise, written (−), is measured, and it does not follow from the letter: (R)-glyceraldehyde is (+), while (R)-butan-2-ol is (−). The older D and L labels compare a molecule with glyceraldehyde in a Fischer projection, and they do not map onto R and S either. They began with a guess: Fischer could not tell which arrangement (+)-glucose had, so he chose one, and it was not until 1951 that Johannes Bijvoet’s X-ray study of sodium rubidium tartrate showed that the guess had been right.

The amino acids show this. The chiral amino acids in proteins are all L, and nearly all of them are S, as alanine, serine and phenylalanine are in the explorer. Cysteine is the familiar exception. Its CH₂SH carries sulfur, atomic number 16, which outranks the oxygens of COOH at 8, so CH₂SH ranks 2 and COOH 3, and L-cysteine is R. Nothing about its shape differs from L-alanine’s; only the ranking has changed.

Enantiomers are hard to tell apart in most experiments. They have the same melting point, the same solubility and the same NMR spectrum in an ordinary solvent, so the NMR Splitting Pattern Visualiser would draw identical multiplets for both. A stereocentre does leave a mark nearby, though: the two hydrogens of a neighbouring CH₂ are diastereotopic, and they can have different chemical shifts.

What this model leaves out

  • More than one stereocentre. There is a single centre here, so there are no diastereomers and no meso compounds such as meso-tartaric acid, and none of the rules that rank groups by their own configuration.
  • The later sequence rules. Only atomic number is used. Isotopes, ranked by mass number so that deuterium beats hydrogen, the cis and trans geometry of double bonds, and stereocentres inside the groups all need rules beyond it.
  • Other kinds of stereocentre. Only carbon is offered. A sulfoxide, a phosphine or a quaternary ammonium ion can be chiral too, and allenes and biaryls are chiral without any stereocentre at all.
  • Rings, apart from phenyl. Phenyl is written as one Kekulé structure, which is enough for every comparison here. Stereocentres in rings, such as those of cyclohexanes or of sugars in their ring forms, are not offered.
  • Real geometry. The tetrahedron is regular, every bond is the same length, and each group is drawn as the one atom bonded to the centre.

Common mistakes

  • Adding atomic numbers. Compare sets atom by atom from the highest. The (O, H, H) of CH₂OH beats the (C, C, C) of C(CH₃)₃ at the first atom, although its total is lower.
  • Ranking by size or mass. A tert-butyl group is large, but a single bromine outranks it, and so does CH₂OH.
  • Forgetting the duplicate atoms. COOH carries (O, O, O), not (O, O), because the C=O oxygen counts twice.
  • Reading with 4 pointing at you. The turn you see is backwards. Turn the molecule round, or read it and reverse your answer.
  • Treating R as (+). The letter comes from a naming rule and the sign from a polarimeter, and neither predicts the other.
  • Turning a Fischer projection through 90°. That changes which bonds come forward and gives the other enantiomer. Only a 180° turn in the page is safe.

Common questions

How do you assign R or S configuration to a chiral centre?

Rank the four groups by the Cahn-Ingold-Prelog rules, highest atomic number first, then turn the molecule so that the lowest priority, group 4, points away from you and follow 1 to 2 to 3: clockwise is R and anticlockwise is S. If group 4 points toward you instead, read the turn and reverse it. In (S)-lactic acid, OH ranks 1 because oxygen’s atomic number is 8, H ranks 4, and COOH beats CH₃ because its carbon carries (O, O, O) against (H, H, H). With H at the back, OH to COOH to CH₃ runs anticlockwise, so it is S.

What are the Cahn-Ingold-Prelog priority rules?

They rank the groups on a stereocentre. Compare the atoms bonded to the centre by atomic number, highest first. Where two tie, list the three atoms each one carries as a set, such as (O, H, H), and compare the sets atom by atom from the highest; the first difference decides, and atoms further out count only if the sets match. A double bond counts its far atom twice and a triple bond three times, so COOH carries (O, O, O), and lone pairs count as phantom atoms of atomic number zero. Where atomic number cannot separate two groups, later rules take over, among them a ranking by mass number, so deuterium outranks hydrogen. The rules are from Cahn, Ingold and Prelog in 1966, restated by IUPAC in 2013.

How do you find R and S from a Fischer projection?

In a Fischer projection the horizontal bonds point toward you and the vertical bonds point away. Rank the groups and trace 1 to 2 to 3 as drawn. If the lowest priority is on a vertical bond, the drawn direction is the answer, clockwise for R. If it is on a horizontal bond, reverse it. D-glyceraldehyde has H on a horizontal bond, with OH, CHO and CH₂OH drawn anticlockwise, so it is R. Swapping any two groups in the projection gives the enantiomer, and so does turning it through 90°, but turning it through 180° does not.

What makes a carbon a chiral centre, or stereocentre?

Four different groups. They can then be arranged in two mirror-image ways that no turning will make match, and those are the R and S enantiomers. If two of the groups are identical, swapping them changes nothing and the carbon is not a stereocentre; the explorer says so when two positions hold the same group. A molecule with exactly one stereocentre is always chiral. One with two or more can be achiral, as meso-tartaric acid is, because it has an internal mirror plane.

Does R mean dextrorotatory, or D?

No. R and S come from a naming rule applied to the arrangement in space, while (+) and (−) are measured with a polarimeter, and neither predicts the other: (R)-glyceraldehyde is (+) and (R)-butan-2-ol is (−). D and L are an older system that compares a molecule with glyceraldehyde, now used mainly for sugars and amino acids, and it does not map onto R and S either. Most L amino acids are S, but L-cysteine is R.

Why is L-cysteine R when other L amino acids are S?

Because sulfur outranks oxygen. In alanine the groups rank NH₂, COOH, CH₃, H, and L-alanine is S. Cysteine has CH₂SH where alanine has CH₃. Its carbon carries (S, H, H), and the atomic number of sulfur, 16, beats the 8 of the oxygens in the (O, O, O) of COOH, so CH₂SH ranks 2 and COOH drops to 3. Exchanging the ranks of two groups reverses the reading, so L-cysteine is R although its arrangement in space matches that of L-alanine.