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 Color of the Insertion Point

In your quest to customize Word, you may change the colors used to display your document. After doing so, it may become ...

Discover More

Getting Context-Sensitive Help

Need help on a particular topic, dialog box, or command? You can use Excel's powerful help system to get just the information ...

Discover More

Creating Scenarios

Excel allows you to create different scenarios for the data in your worksheet. These can be saved and managed using the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Using the Style Area

The style area is an esoteric feature of Word that allows you to easily see the styles applied to the paragraphs in your ...

Discover More

Zooming with the Keyboard

Want to zoom in and out without the need to using the ribbon tools? You can create your own handy macros that do the zooming ...

Discover More

Page Layout Zoom Settings

The zoom setting at which you view a document can sometimes be saved with a document. This tip explains how the zoom setting ...

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. Maximum image size is 6Mpixels. 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 7 + 6?

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.