# Operand

In mathematics, an operand is an object to which an operator (+, -, ×, ÷) is applied. For example, in the equation 7 + 5 = 12, the numbers 7 and 5 are operands. The plus symbol (+) is the operator and the value after the equal sign (12) is the result.

In computer science, an operand is a value within a function. It may be a specific number or a variable. Operands can be defined within a function or passed into a function via one or more parameters. The function below includes three operands, including two variables and one constant.

``````sumPlusTen(x, y)
{
const Z = 10;
\$sum = \$x + \$y + Z;
return \$sum;
}``````

In the example above, \$x, \$y, and Z are operands in the equation used to calculate \$sum. The variables \$x and \$y are passed to the function sumPlusTen() as parameters, while the constant Z is defined within the function as 10. If sumPlusTen(5,6) is called with a program, it would calculate \$sum using the operands 5, 6, and 10 and return a value of 21.

Updated: February 16, 2021

Cite this definition:

https://techterms.com/definition/operand

#### TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definition of Operand. It explains in computing terminology what Operand means and is one of many technical terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this Operand definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!

Subscribe to the TechTerms Newsletter to get featured terms and quizzes right in your inbox. You can choose to receive either a daily or weekly email.