Been getting back pain on my bike and I feel a little too stretched on it
Was thinking about getting a shorter stem, but can anyone tell me where they are measured from? Is it measured from centre of the handlebars to centre of the steerer?
Yep, centre to centre.
You can always move the saddle forward or (presuming they're risers) twist the bars back to reduce reach a bit at a time to see if it helps.