Advanced maths

Z transform calculator for finite and rational sequences

A sequence’s Z-transform includes both an algebraic expression and a region of convergence.

Your numbers

Causal: b0,b1,…; finite mode: sample values.
Causal only; degree ≤2, nonzero a0.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

A sequence’s Z-transform includes both an algebraic expression and a region of convergence. This calculator handles finite sample lists with an explicit starting index, or causal rational generating functions with a denominator of degree at most two in the delay variable q=z^−1. It derives poles and the first twenty causal samples under zero prehistory.

THE FORMULAX(z)=Σ_n x[n]z^−n; causal X(z)=B(z^−1)/A(z^−1).

A worked example

For B(q)=1 and A(q)=1−0.5q, the recurrence produces 1,0.5,0.25,… . The transform is 1/(1−0.5z^−1)=z/(z−0.5). Causality selects the exterior ROC |z|>0.5. The same rational expression with an interior ROC would describe a different, left-sided sequence.

Good to know

Decimal coefficients, numerator degree ≤20 and denominator degree ≤2. Possible pole-zero cancellations are rejected for explicit simplification. A zero causal numerator is rejected. Finite mode accepts initial index −20…20. No bilateral rational ROC selection, symbolic parameters or unstable cancellation inference.

Use the delay variable consistently

Coefficients in causal mode ascend in q, so the list 1,−0.5 means 1−0.5q rather than z−0.5. Multiplying by an appropriate power of z converts between delay polynomials and ordinary rational functions in z. Mixing ascending and descending conventions can move poles to reciprocals of their intended values.

The first twenty displayed samples are calculated recursively from the entered numerator and denominator. Before index zero, samples are taken as zero. This makes the causal assumption operational and provides a direct check against the geometric-series example without needing to infer samples from a pole plot.

The causal geometric sequence converges outside its pole radiusPole: z = 0.5ROC: |z| > 0.5Causal: n ≥ 0x[n]: 1, 1/2, 1/4, 1/8, …
For x[n]=(0.5)^n with n≥0, X(z)=z/(z−0.5) and ROC |z|>0.5. The circle indicates the excluded convergence boundary, and the pole marker lies at real coordinate 0.5. The exterior is unbounded.

The Laplace transform calculator with a convergence region covers a related task. This page focuses on z transform calculator for finite and rational sequences with the method limits and worked example described below.

An expression alone does not specify convergence

For a causal rational sequence with uncanceled poles, the ROC lies outside the pole of greatest modulus. Complex conjugate poles use their complex modulus, not their real part. Points on that outer boundary are excluded. A large or growing sample does not by itself invalidate the transform; it changes where the infinite series converges.

Cancellation requires care because removing a pole changes the ROC. This bounded solver rejects possible numerator-denominator cancellation rather than reporting an exterior radius for a pole that may be removable. Simplify the fraction before entering it. The rejection is an uncertainty in the supported representation, not a claim that the underlying sequence is undefined.

Finite sequences have a separate endpoint rule

A finite list becomes a Laurent polynomial with one term x[n]z^−n for each sample. Nonzero positive-time support excludes z=0, while a list with only nonpositive indices is a polynomial defined at every finite z. Negative-time support matters at infinity, which is distinct from the finite complex plane.

The finite table preserves index labels so leading zeros and a shifted initial index can be interpreted correctly. The related Laplace transform calculator concerns continuous-time signals and an s-plane convergence region; the present page operates on discrete indices and powers of the delay variable.

A few questions, answered

Is the denominator list descending in z?

No. It is ascending in q=z^−1: a0,a1,a2.

Why is causality important?

The same rational expression can represent different sequences under different ROCs. Here causal mode fixes zero prehistory.

Find your calculator

Start typing to explore the library.