Skip to content

Add stereochemistry labels

Stereo labels are small text markers: R or S next to an atom, and E or Z next to a double bond, drawn in red by default. Each label is stored on its atom or bond, so it moves with the structure and is kept when you save and copy. The stereochemistry itself is in your solid and hashed wedges and in the drawn shape of each double bond (see Bond tool). Molkit can read that drawing and assign the CIP labels for you, or you can set them by hand.

L-Alanine in bond-line form, with a solid wedge to its methyl group and the label S at the stereocenter, and (E)-but-2-ene with the label E under its double bond.
Stereo labels: S at the stereocenter of L-alanine, E on the double bond of (E)-but-2-ene.

Choose Structure > Assign R/S, E/Z. Molkit ranks the substituents by the CIP rules and labels every stereocenter R or S and every stereogenic double bond E or Z.

  • Scope. If anything is selected, only the molecules that contain the selection are labeled; one selected atom is enough to include its whole molecule. With nothing selected, every molecule on the canvas is labeled.
  • Wedges decide R and S. A stereocenter needs at least one solid or hashed wedge whose narrow end is at that atom. A stereocenter drawn with plain bonds only is left unlabeled, and the message says how many were skipped this way.
  • Geometry decides E and Z. The label comes from which side of the double bond each substituent is drawn on. A crossed (either) double bond gets no label.
  • Hydrogens. Implicit hydrogens are counted from normal valences, so you do not need to draw them. Drawn hydrogens work too.
  • Skipped molecules. A molecule that contains a generic atom (R, X, and similar) or a collapsed abbreviation is skipped, because its real substituents are unknown. So is a molecule with a condensed label on any atom, such as CH2OH, OCH3, CO2H, or Ph. Simple hydrogen labels such as OH, NH2, and CH3 are fine. See Limitations.
  • Pseudoasymmetric centers get lowercase r or s.

A message reports the result, for example “Assigned 2 R/S labels and 1 E/Z label.” Running the command again recomputes the labels, so it also corrects labels that no longer match after you flipped a wedge. It replaces R, S, r, s, E, and Z labels only; labels you typed by hand, such as M, P, re, si, or RS, are kept. The whole command is one undo step.

Labels are drawn only while Structure > Show Stereo Labels is selected. If it is off, the message reminds you to turn it on.

A ring of fewer than 10 atoms is usually drawn as a regular polygon, and in a polygon every ring double bond looks cis. When a SMILES string gives a ring double bond the trans arrangement, for example trans-cyclooctene (C1CC/C=C/CCC1), Molkit labels that bond E (or Z, when a substituent outranks the ring) as it draws it, so the drawing cannot be misread. Structure > Clean Up Structure leaves such a ring in its drawn shape instead of making it a regular polygon.

Choose Structure > Clear Stereo Labels. The command removes every R, S, r, s, E, and Z label on the canvas, whether it came from Assign R/S, E/Z, from SMILES import, or from you. It ignores the selection. Hand-typed labels such as M, P, re, si, and RS stay. It is one undo step.

Molkit can change the drawing so that a stereocenter or a double bond has the configuration you choose. Molkit changes the drawing, and the label always comes from the CIP rules applied to the new drawing. Each command is one undo step.

  • Right-click a stereocenter and select Make R or Make S. Molkit flips the wedge and hash already at that atom, or, when it has none, puts a wedge on the best bond: its narrow end at the stereocenter, on a bond to a hydrogen or to an atom that is not a stereocenter, outside a ring when it can. A lone wedge that leaves the center ambiguous is replaced by a wedge and a hash.
  • Invert Stereocenter swaps the wedges and hashes at that atom. A pseudo-asymmetric center (r or s) and the cis or trans centers of a ring such as 1,4-dimethylcyclohexane take Invert only.
  • Right-click a double bond that can be E or Z and select Make E or Make Z. Molkit reflects the smaller end of the molecule across the double bond; any stereocenter in that end keeps its configuration. A double bond in a small ring cannot be E or Z, and the menu does not offer these commands for it.

Select a molecule. Structure > Draw Mirror Image draws its mirror image to its right with a dashed vertical line between the two, the textbook picture of a pair of enantiomers. Every R becomes S and every S becomes R; E and Z stay as they are. The mirror image of a meso compound, such as meso-tartaric acid, is the same compound. The dashed line is an ordinary line you can move or delete.

Structure > Invert All Stereocenters turns the selected molecule into its enantiomer in place, by swapping every wedge and hash.

In Molkit Script: change lactic-acid.C2 stereo: S, change but-2-ene.bond(C2, C3) stereo: Z, change x stereo: invert, and mirror x. See Commands.

Select one molecule and select Structure > Stereoisomers…. The dialog shows every stereoisomer of it as a small picture with its descriptors, for example (R,R) and (S,S) for the two enantiomers of tartaric acid and (R,S) meso for the third. Enantiomers sit side by side. A meso compound is an achiral isomer with two or more stereocenters in a set that also has chiral members; an achiral isomer with no chiral partner, such as (E)- or (Z)-but-2-ene, is labeled achiral, not meso. Ring cis and trans isomers, such as cis- and trans-1,4-dimethylcyclohexane, are found too.

To vary only what your drawing leaves undefined, select Keep the configurations I drew. Check the isomers you want and select Insert: each is drawn below everything as its own molecule, captioned with its descriptors. A molecule with more than 32 stereoisomers (more than five stereocenters) shows only the count; draw some of its centers with wedges and keep them. An allene axis is not varied.

In Molkit Script: isomers tartaric-acid kind: stereo draws them all, pick: [1, 3] only those, and draw: off lists them without drawing. See Commands.

Select two molecules and select Structure > Compare Molecules. Molkit checks, in this order, whether they have the same formula, whether their atoms are joined the same way, and then how their configurations differ, and says which they are: not isomers, constitutional isomers, identical, enantiomers (mirror images that do not superimpose), or diastereomers (stereoisomers that are not mirror images, cis and trans isomers included). Two Newman or sawhorse projections of one compound at different dihedral angles are conformers. When one drawing leaves a configuration undefined that the other defines, Molkit says so instead of guessing. In Molkit Script: compare [x, y].

  1. Make sure Structure > Show Stereo Labels is selected.
  2. Select the atom. The Stereochemistry section appears in the Properties panel.
  3. In the Label field, pick a label from the list (R, S, r, s, RS, E, Z, M, P, re, si) or type any short text. To remove the label, choose None or clear the field.

To label several centers at once, select all of them first; the same section applies the label to each.

Select a double bond, and in the Bond section of the Properties panel choose E or Z from the Config list (None removes the label). The label is drawn near the middle of the bond, offset to one side. It is drawn only on double bonds: if you change the bond order, the label disappears until the bond is a double bond again.

By default each atom’s label is placed automatically. Molkit tries the eight positions around the atom (top, bottom, left, right, and the four diagonals), avoids bonds, implicit hydrogen labels, charges, and atom numbers, and picks a clear spot. The position updates as you move atoms or add bonds, so labels stay clear of other marks.

To place one atom’s label yourself, use the Position list in the Stereochemistry section, or drag the label with the Select tool. A dragged label keeps its offset from the atom and moves with it. Color and Size are also set per atom in the same section, with a reset button that returns to the document default.

To show or hide every stereo label in the document, choose Structure > Show Stereo Labels. Hidden labels stay stored on their atoms and bonds.

Fischer projections show the same per-atom labels at each crossing. Whether they do is set by Show R/S Labels on the Projections tab of Structure > Structure Settings… (the default) and by Show R/S labels in each projection’s panel.

  • Labels do not update as you edit. If you swap substituents or flip a wedge, an R label stays R until you run Assign R/S, E/Z again or change it by hand.
  • Assign R/S, E/Z reads the drawing exactly as drawn. A wedge whose narrow end is at the wrong atom, or a double bond drawn nearly straight, can give no label or an unexpected one. Check the result.
  • Assign R/S, E/Z skips any molecule that has a condensed label on an atom, such as CH2OH, OCH3, CO2H, Ph, or Et, and the message says how many were skipped. Molkit treats a condensed label as a single atom and cannot rank it by the CIP rules. To label the molecule, draw those groups out as bonds. A label that is the element with its hydrogens, in either order (OH, HO, NH2, H2N, CH3, H3C, SH), is fine as long as the hydrogen count matches the atom’s bonds; a mismatch such as CH2 on an end carbon also skips the molecule. The bare element symbol, with or without an isotope number or a charge, is always fine.
  • Axial chirality (M and P) and prochirality (re and si) are not assigned automatically; set those by hand.
  • SMILES import reproduces stereochemistry mainly as solid and hashed wedges and double-bond geometry. If the chemistry library that Molkit downloads cannot load, Molkit reads the SMILES itself, adds E and Z labels from the directional markers in the input and places a solid or hashed wedge at each marked center, but that wedge only marks the atom as a stereocenter; its direction is not checked against the CIP rules. Treat imported stereochemistry as a starting point and check it.
  • Bond tool, for drawing the solid and hashed wedges that encode stereochemistry
  • SMILES, for importing structures with stereo markers
  • Atom numbering, for numbering atoms