✓ Effortless Math · Free Tool

Function Composition Calculator

Evaluate (f∘g)(x) = f(g(x)) and (g∘f)(x) at a point — with each step shown and a graph of the composition.

(f ∘ g)(x) = f(g(x))
f(x) = f(x) g(x) = g(x) at x = x

Use x as the variable. The tool evaluates (f∘g)(x) = f(g(x)) and (g∘f)(x) = g(f(x)) at your value.

Results

(f ∘ g)(x) = f(g(x))
g(x)
f(g(x))
f(x)
(g ∘ f)(x) = g(f(x))

Graph of (f ∘ g)(x)

(f∘g)(x)at x

Step-by-step