State Pension is paid in two parts:
The Basic Pension is a flat rate benefit based on the number of years (known
as qualifying years) in which you paid or were credited with a minimum amount
of standard rate contributions. (Class1, 2 or 3 NI Contributions).
Further information can be found on the Directgov website.