Microsoft hides the serial number in different spots depending on the hardware design.

If your Surface is turning on and you can access the desktop, this is the fastest method.

If your Surface won't power on or the screen is broken, you can find the serial number physically on the device. The location depends on the model: