# Gradient

> A list of slopes, one for each input. Together they point the steepest way up.

**Field:** General Knowledge  
**Category:** Math & Statistics  
**Also known as:** Gradient Vector

## Think of it like

It is like an arrow drawn on a hill. It points the steepest way up.

## Definition

A gradient is the slope of something that depends on more than one number. It is a list of slopes, one for each number. Together they form an arrow, which is a vector. The arrow points the way that climbs fastest. Its length says how steep that climb is. To go down as fast as you can, you walk the other way.

## Example

Lucy stands on a hill. The ground climbs 3 metres a step going north and 1 going east. Her gradient is 3 north and 1 east, so uphill is mostly north.

## Why it matters

Training an AI model means walking down a gradient. Each step moves the model's numbers so its errors shrink.

## Common mistake

Thinking the gradient points downhill. It points up, so a model that wants less error steps the other way.

## Three principles

- **One slope per input.** Each number gets its own.
- **Points uphill.** The steepest climb from here.
- **Length is steepness.** A longer arrow means a steeper hill.

## Related terms

- [Derivative](https://learn.benibix.com/term/general/derivative)
- [Slope](https://learn.benibix.com/term/general/slope)
- [Vector](https://learn.benibix.com/term/general/vector)
- [Gradient Descent](https://learn.benibix.com/term/ai/gradient-descent)

![A hill seen from above as rings of height, from 10 metres on the outside to 50 at the top. A dot sits on the side of the hill. A solid arrow from the dot points up the hill, labelled gradient. A dashed arrow points the other way, labelled step to go down.](https://learn.benibix.com/diagrams/gen-gradient.svg)

---

Source: https://learn.benibix.com/term/general/gradient
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-20
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
