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

Multiple Users Using a Word Document

Want to collaborate with others on creating your literary masterpiece? It may be easier than you think, depending on the ...

Discover More

Moving Images Behind Text

When positioning images in a document, you may want them to appear behind text, so that the text shows up over the top of the ...

Discover More

Restoring Items in the Recycle Bin

Placing something in the Recycle Bin does not mean it is gone forever. After placing something there, you may change your ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Jumping to a Relative Section

Navigating through a long document can be challenging, at times. Here's a way you can move forward or backwards in your ...

Discover More

Getting Audible Feedback

You can add a bit of sound to your editing tasks by turning on Word's sound capabilities. This tip shows where this ...

Discover More

Controlling How Documents Stack when Opened

When you open multiple documents, Windows cascades the document windows on your desktop. If you want the windows to be ...

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 five more than 2?

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.