Please Note: This article is written for users of the following Microsoft Word versions: 2007 and 2010. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Word's Native Measurement Unit.

Word's Native Measurement Unit

by Allen Wyatt
(last updated March 22, 2017)

2

Richard wonders what Word uses as its underlying, native measurement unit. He notes that there are almost always rounding errors when switching among inches, metric, and points, and picking the right system would seem to minimize problems.

From everything that we can find, it appears that Word internally uses a measurement unit called a twip. This is equivalent to 1/20 of a point, so there are 1,440 twips in an inch or 567 twips in a centimeter. The interesting thing, however, is that you cannot specify measurements in twips in dialog boxes, nor can you change the default measurement unit (as used in dialog boxes) to twips. Instead, twips are used internally and can be accessed programmatically, using VBA.

The problem with converting between measurement units seems to crop up when using dialog boxes to enter measurements. Most dialog boxes have a limit on how many digits you can enter to the right of a decimal point, and most of them we tested seemed to place that limit at two digits to the right of the decimal. Thus, you could set a measurement (for example) at 1.25 inches or 1.25 centimeters, but those two measurements are very different in effect.

Let's look at the case of 1.25 inches. If this is converted to points, then it comes out to 90 points. If you convert it to centimeters, then you get (at 2.54 centimeters per inch) 3.175 centimeters. However, if you enter the value in centimeters, you can't use three decimal places; Word would round it to 3.18 centimeters which, if expressed as points, is 90.15 points. (That is 3.18 multiplied by 28.35 points per centimeter.)

The reason this occurs is because points are designed to be equally divisible into common inch-based fractions. Thus, 1/2 inch is exactly 36 points, 1/3 inch is exactly 24 points, 1/4 inch is exactly 18 points, 1/8 inch is exactly 9 points, etc. However, it is not that way with metric conversions; they come out quite different. Each millimeter is equivalent to approximately 2.834645669 points, and each centimeter is 10 times this amount. This allows for rounding errors in almost any conversion—particularly if your input mechanism (the common dialog box) only allows you to enter two digits to the right of the decimal point.

Most people can live with small amounts of imprecision in positioning elements in Word. For these folks, they can live with the difference between 90 points and 90.15 points. Other people may not find this difference acceptable. For them, the best solution is going to be to configure Word to work in points and make sure that all measurements you enter in dialog boxes are always in points. (I would suggest working in twips but, again, this seems to only be germane when working in VBA.)

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11388) applies to Microsoft Word 2007 and 2010. You can find a version of this tip for the older menu interface of Word here: Word's Native Measurement Unit.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Changing the Perspective of Your Chart

Microsoft Graph can be a handy way to add quick and dirty charts to your document. When working with 3-D charts, you can ...

Discover More

Printing Only Non-Blank Worksheets

If you have a workbook containing many worksheets, you might want to print only those worksheets that have some sort of ...

Discover More

Using Header Information as the Filename

Save a document for the first time, and Word helpfully suggests a filename you can use or change. If you want this suggested ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Canceling a Command

Tired of waiting for a command to finish running? You can use the same shortcut to cancel a command that you use to dismiss ...

Discover More

Understanding Picas

Word can understand many different measurement units. One common unit understood by Word is the pica, described in this tip.

Discover More

Understanding ASCII and ANSI Characters

Two of the most common character coding schemes used in computers go by the acronyms ASCII and ANSI. This tip explains a bit ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four less than 8?

2012-02-25 10:34:19

Dick Margulis

Microsoft's choice of the twip as a base unit is interesting. There's a precedent, and in light of this question, Microsoft's willingness to compromise at the user's expense is telling.

Interleaf (a powerful electronic document creation and management system out of reach of the average desktop worker) also has a base unit, the RSU*. There are 1,228,800 RSUs in an inch, so conversion to points, ciceros, inches, millimeters, or any other typesetting unit results in such a small rounding error (if any) as to be irrelevant. By comparison twips are enormous, coarse units, unfit for serious consideration. That's the reason for the rounding errors you're talking about.

* RSU stands for ridiculously small unit. Actually, if you dig down into the LISP code for Interleaf, you learn that the programmer who came up with that couldn't spell, because he has it as "rediculously" instead of "ridiculously." But if programmers could spell, tech writers would be out of work.


2012-02-25 05:50:41

Dr. Bartolo

The Word inaccuracies are particularly unfortunate since an inch is officially defined as exactly 2.54 centimetres (or 25.4 millimetres), not the other way round. Any error in centimetre/millimetre conversion to inches is therefore a real mathematical error, and Microsoft ought to know better.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.