# Parameter

> A name in a function. It holds the value the function is given later.

**Field:** Software Development  
**Category:** Programming Concepts  
**Also known as:** Function Parameter

## Think of it like

Think of it like a blank line on a form. The form says Name, and each person writes their own.

## Definition

A parameter is a name in a function that stands for a value it will be given. It is written in the brackets when the function is made, like width and height. Inside the function, the parameter works like a variable. Each time the function is called, the parameter holds whatever value was passed in. A function can have none, one or many.

## Example

The function area(width, height) has two parameters. Called with 3 and 4, width is 3 and height is 4.

## Example code

```python
def area(width, height):
    return width * height

print(area(3, 4))   # 12
```

Width and height are the blanks. The call fills them with 3 and 4.

## Why it matters

They let one function work on many values. Without them, each number would need its own function.

## Common mistake

Mixing up the blank and the value. The parameter is the blank. The argument fills it.

## Three principles

- **A named blank.** It waits for a value from the call.
- **Set by position.** The first value fills the first name.
- **Lives inside.** It only exists within its function.

## Related terms

- [Function](https://learn.benibix.com/term/development/function)
- [Argument](https://learn.benibix.com/term/development/argument)
- [Variable](https://learn.benibix.com/term/development/variable)
- [Scope](https://learn.benibix.com/term/development/scope)

## Told apart from

- [Parameter vs Argument](https://learn.benibix.com/compare/parameter-vs-argument): The parameter is the named blank in the function. The argument is the real value that fills it when you call it.

## Taught in

- [Functions in Python](https://learn.benibix.com/learn/development-concepts/functions-in-python): Programming Basics, 12/18

---

Source: https://learn.benibix.com/term/development/parameter
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
