Hide Table of Contents


Evaluates mathematical and geometric expressions.

CAL is a calculator that evaluates expressions (point, real, or integer). You can use it alone at the command prompt or as a Transparent Command.

You can use 'CAL in any command that accepts points, vectors, or numbers. For example, enter a command such as LINE, then enter 'CAL at any prompt where you want to calculate the next point. The following prompt appears:

>> Expression:

Type the expression and press Enter. The line is drawn to the point calculated, and the following message appears:

Resuming LINE command.

CAL evaluates expressions according to standard mathematical rules of precedence.

1 Expressions in parentheses, starting with the innermost set
2 Operators in standard order: exponents first, multiplication and division second, and addition and subtraction last
3 Operators of equal precedence from left to right

A numeric expression is a collection of real numbers and functions combined with the mathematical operators () ^ * / + -.

A vector expression is a collection of points, vectors, numbers, and functions combined with the operators () & * / + -.

Measurements in feet-inches are converted to inches for numeric calculations.

Angles are in decimal degrees in the following format: degdmin'sec"

You must enter 0 and d (0d) when entering an angle that is less than 1 degree (minutes and seconds only). You can omit the minutes or seconds if they are zero.

You can define variables, which are remembered throughout a session.

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   'CAL
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: SOLIDWORKS 2013 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.