Skip to content

Your first molecule

This tutorial draws cyclohexanol: a six-membered carbon ring with an OH group on one carbon. You will use the Ring tool, the Bond tool, an element shortcut, and undo, then save the result. Before you start, open Molkit in a new browser tab (see Open Molkit).

  1. Press R to select the Ring tool.
  2. Hold Shift and click an empty spot on the canvas. A cyclohexane ring appears, centered where you clicked.
A cyclohexane ring: a hexagon of six single bonds with no atom labels.
After step 1: a cyclohexane ring.

Without Shift, the default six-membered ring is benzene, drawn with alternating double bonds. If you hold the mouse button down instead of releasing it, dragging rotates the ring around its center before it is placed.

  1. Press B to switch to the Bond tool.
  2. Press the mouse button on one of the ring carbons and drag outward. A preview bond follows the pointer.
  3. Release the mouse button. A new bond and a new carbon atom appear at the end of the drag.
The cyclohexane ring with one new bond leaving a ring carbon to the right; the new carbon at its end has no label.
After step 2: a new bond to an unlabeled carbon.

While you drag, the bond snaps to 15° steps and to the standard bond length, so it lines up without careful aiming. To draw at any angle, hold Alt; to draw at any length, hold Shift.

Carbon atoms are drawn without a label, so the new atom is an unlabeled carbon at the end of the bond. For cyclohexanol it needs to be oxygen.

  1. Press O to make oxygen the active element. If another tool was active, choosing an element also switches to the Bond tool. You can pick elements from the element picker as well; see Atoms and elements.
  2. Click the atom at the end of your new bond. Its label changes to OH.
Cyclohexanol: the cyclohexane ring with the new bond ending in a red OH label.
After step 3: cyclohexanol.

A faster route skips the element change: point at the atom and type O. The label changes as you type and is committed when you move the pointer off the atom.

The label reads OH: Molkit writes the hydrogens that an atom’s valence implies.

When you finish with oxygen, move the pointer away from any atom and press C to go back to carbon.

Press Ctrl+Z to undo the last action and Ctrl+Y to redo it. Both commands are also on the Edit menu. Every step above can be undone.

To remove one atom or bond, press E for the Eraser and click it. See Eraser.

To save the drawing as a .mkit file, press Ctrl+S or select File > Save. A .mkit file keeps everything editable, so you can open it later and continue. See .mkit files.

To use the drawing somewhere else, select File > Export SVG or File > Export PNG instead. An SVG stays sharp at any size and suits web pages and slides. A PNG is an ordinary image that any program can show. See Export an SVG and Export a PNG.

  • Ring tool: click an existing atom to attach a new ring to it, or click the middle of a bond to fuse a ring onto that edge. See Ring tool.
  • Bond tool: click an empty spot to place a single atom; click an existing bond to step its order from single to double to triple and back.
  • Carbon labels: with carbon active, click a carbon atom to show or hide its label, for an explicit CH3 at the end of a chain.

For more practice, draw ethanol from a single bond, or acetic acid with a double bond to oxygen; the same gestures apply. Keyboard shortcuts lists every key.

Next: Interface overview