How Molkit draws the net dipole
The net dipole arrow is an estimate, made for teaching. This page explains where its direction comes from, so you can predict the arrow for a given drawing and see why a few molecules break the usual rule.
How Molkit estimates the direction
Section titled “How Molkit estimates the direction”Molkit builds an idealized 3D shape for the molecule, turned to match your drawing, and adds up one arrow per polar bond. Each bond arrow points toward the more electronegative atom and is scaled by the electronegativity difference. This is the rule of thumb taught in introductory courses. Lone pairs are not included.
The canvas, exported figures, and the Molkit Viewer all draw this same estimate, so a molecule shows the same arrow everywhere. Molkit’s Gasteiger partial charges are used only for the in-browser estimate in the 3D view, not for this arrow.
When the bond dipoles nearly cancel in this model, as they do for aniline and triethanolamine, Molkit draws no arrow. The real molecules can still be polar (aniline’s measured dipole is about 1.5 D): the model leaves out lone pairs. The canvas shows μ ≈ 0, and the viewer says the prediction is nearly zero.
If you draw the molecule looking straight down its dipole axis (for example, ammonia drawn as a T, with the hydrogens left, right, and below the nitrogen), the 3D estimate has almost nothing in the plane of the page. Molkit then takes the direction from the bonds as you drew them, so the arrow still points toward the lone-pair side.

Freely rotating O–H, N–H, and S–H
Section titled “Freely rotating O–H, N–H, and S–H”In a 2D drawing, the hydrogen of an –OH, –NH2, or –SH group can sit on either side of its bond, and in the real molecule it rotates freely. Molkit therefore averages that X–H bond over a full rotation, which leaves only its component along the C–X bond. The arrow does not depend on where you drew the hydrogen. The O–H of an oxoacid such as chloric acid or sulfuric acid is averaged the same way, about its O–Cl or O–S bond. The O–H bonds of hydrogen peroxide and of nitric acid are not averaged, because their positions are fixed.
The averaging applies only when the O, N, or S has exactly one other heavy-atom neighbor, and that neighbor is carbon or the central atom of an oxoacid (Cl, Br, I, S, Se, or P bonded to two or more oxygens). Hydrogen peroxide, hydrazine, and hydroxylamine are not averaged, because rotation about an O–O or N–N bond is not free and their dipole depends on the actual shape.
The 3D viewer does not average: it shows one specific arrangement of the atoms and uses that arrangement exactly.
Carbon monoxide and nitric oxide
Section titled “Carbon monoxide and nitric oxide”The electronegativity rule puts the negative end of CO and of NO on oxygen. The measured dipoles point the other way: the negative end is on carbon in CO and on nitrogen in NO. For these two diatomic molecules Molkit draws the arrow in the measured direction and marks it as an exception to the rule of thumb. The exception applies only to a molecule made of exactly those two atoms.
Ions get no arrow
Section titled “Ions get no arrow”A species with a net charge has no single well-defined dipole, because the value depends on where you put the origin. Molkit draws no arrow for an ion. It decides whether a molecule is an ion from the formal charges implied by its electrons and ignores the charges you drew, so both of these count as ions:
- an ion with charges on its atoms, such as NH4+ drawn with + on nitrogen
- an ion drawn in brackets with all atoms neutral and the charge outside, such as [OH]−, [CN]−, [H3O]+, or [NO3]−
A neutral molecule drawn with only part of a charge-separated pair (for example, nitrogen dioxide with only the O− shown) still sums to zero formal charge, so it keeps its arrow.
A molecule that contains a generic placeholder such as R or X has no defined 3D shape, so it gets no arrow.