> For the complete documentation index, see [llms.txt](https://astra-image.gitbook.io/astra-image-6.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://astra-image.gitbook.io/astra-image-6.0/processing-tools/pixel-math.md).

# Pixel Math

The Pixel Math tool lets you do simple mathematical operations on each pixel. For more advanced operations, it may be better to use a Python script.

<div align="left"><figure><img src="/files/3S0qXuSlCuK28W8Cx3AU" alt="The Pixel Math tool."><figcaption><p>The Pixel Math tool.</p></figcaption></figure></div>

**Function**\
The mathematical operation that you want to apply to each pixel.

**Value**\
Most functions require a value to run. You can enter the value here. For example, if you selected Divide and entered a Value of 2.0, then each pixel in the image will be divided by 2.0.
