---
title: Math
framework: shadergraph
role: symbol
role_heading: ShaderGraph Node Group
path: shadergraph/math
---

# Math

Perform a wide variety of mathematical and transformative operations on data values.

## Overview

Overview Include Math nodes in your graph to perform typical mathematical operations on data values. A wide range of nodes are available, supporting basic arithmetic, trigonometry, logs, exponents, dot and cross products, and more. Some nodes operate on specific data types of values, but most operate on a wide range of data types, including numbers, colors, and vectors.

## Topics

### Nodes

- [Add](shadergraph/math/add.md)
- [Subtract](shadergraph/math/subtract.md)
- [Multiply](shadergraph/math/multiply.md)
- [Divide](shadergraph/math/divide.md)
- [Modulo](shadergraph/math/modulo.md)
- [Abs](shadergraph/math/abs.md)
- [Floor](shadergraph/math/floor.md)
- [Ceiling](shadergraph/math/ceiling.md)
- [Power](shadergraph/math/power.md)
- [Sin](shadergraph/math/sin.md)
- [Cos](shadergraph/math/cos.md)
- [Tan](shadergraph/math/tan.md)
- [Asin](shadergraph/math/asin.md)
- [Acos](shadergraph/math/acos.md)
- [Atan2](shadergraph/math/atan2.md)
- [Square Root](shadergraph/math/square-root.md)
- [Natural Log](shadergraph/math/natural-log.md)
- [Exp](shadergraph/math/exp.md)
- [Sign](shadergraph/math/sign.md)
- [Clamp](shadergraph/math/clamp.md)
- [Min](shadergraph/math/min.md)
- [Max](shadergraph/math/max.md)
- [Normalize](shadergraph/math/normalize.md)
- [Magnitude](shadergraph/math/magnitude.md)
- [Dot Product](shadergraph/math/dot-product.md)
- [Cross Product](shadergraph/math/cross-product.md)
- [Transform Point](shadergraph/math/transform-point.md)
- [Transform Vector](shadergraph/math/transform-vector.md)
- [Transform Normal](shadergraph/math/transform-normal.md)
- [Transform Matrix](shadergraph/math/transform-matrix.md)
- [Transpose](shadergraph/math/transpose.md)
- [Determinant](shadergraph/math/determinant.md)
- [Invert Matrix](shadergraph/math/invert-matrix.md)
- [Rotate 2D](shadergraph/math/rotate-2d.md)
- [Rotate 3D](shadergraph/math/rotate-3d.md)
- [Place 2D](shadergraph/math/place-2d.md)
- [Round](shadergraph/math/round.md)
- [Safe Power](shadergraph/math/safe-power.md)
- [Normal Map](shadergraph/math/normal-map.md)
- [Fractional (RealityKit)](shadergraph/math/fractional-(realitykit).md)
- [One Minus (RealityKit)](shadergraph/math/one-minus-(realitykit).md)
- [Normal Map Decode](shadergraph/math/normal-map-decode.md)
- [Max3 (RealityKit)](shadergraph/math/max3-(realitykit).md)
- [Min3 (RealityKit)](shadergraph/math/min3-(realitykit).md)
- [Fractional (RealityKit)](shadergraph/math/fractional-(realitykit).md)
- [Inverse Hyperbolic Cos](shadergraph/math/inverse-hyperbolic-cos.md)
- [Inverse Hyperbolic Sin](shadergraph/math/inverse-hyperbolic-sin.md)
- [Atan](shadergraph/math/atan.md)
- [Inverse Hyperbolic Tan](shadergraph/math/inverse-hyperbolic-tan.md)
- [Copy Sign (RealityKit)](shadergraph/math/copy-sign-(realitykit).md)
- [Hyperbolic Cos](shadergraph/math/hyperbolic-cos.md)
- [Cos Pi (RealityKit)](shadergraph/math/cos-pi-(realitykit).md)
- [Exponential 2 (RealityKit)](shadergraph/math/exponential-2-(realitykit).md)
- [Exponential 10 (RealityKit)](shadergraph/math/exponential-10-(realitykit).md)

### Subscripts

- [Distance (RealityKit)](shadergraph/math/distance-(realitykit).md)
- [Distance Square (RealityKit)](shadergraph/math/distance-square-(realitykit).md)
- [Fused Multiply-Add (RealityKit)](shadergraph/math/fused-multiply-add-(realitykit).md)
- [Hyperbolic Sin](shadergraph/math/hyperbolic-sin.md)
- [Hyperbolic Tan](shadergraph/math/hyperbolic-tan.md)
- [Log 10](shadergraph/math/log-10.md)
- [Log 2](shadergraph/math/log-2.md)
- [Magnitude Square (RealityKit)](shadergraph/math/magnitude-square-(realitykit).md)
- [Median3 (RealityKit)](shadergraph/math/median3-(realitykit).md)
- [Modulo (RealityKit)](shadergraph/math/modulo-(realitykit).md)
- [Reciprocal Square Root (RealityKit)](shadergraph/math/reciprocal-square-root-(realitykit).md)
- [Sin Pi (RealityKit)](shadergraph/math/sin-pi-(realitykit).md)
- [Tan Pi (RealityKit)](shadergraph/math/tan-pi-(realitykit).md)
- [Truncate (RealityKit)](shadergraph/math/truncate-(realitykit).md)

## See Also

### Node Categories

- [2D-Procedural](shadergraph/2d-procedural.md)
- [2D-Texture](shadergraph/2d-texture.md)
- [3D-Procedural](shadergraph/3d-procedural.md)
- [3D-Texture](shadergraph/3d-texture.md)
- [Adjustment](shadergraph/adjustment.md)
- [Application](shadergraph/application.md)
- [Compositing](shadergraph/compositing.md)
- [Data](shadergraph/data.md)
- [Geometric](shadergraph/geometric.md)
- [Logic](shadergraph/logic.md)
- [Material](shadergraph/material.md)
- [Organization](shadergraph/organization.md)
- [Procedural](shadergraph/procedural.md)
- [RealityKit](shadergraph/realitykit.md)
- [Surface](shadergraph/surface.md)
