Didn’t know my brakes were bad

I need to replace the discs and pads, my question is if my discs are 282mm what pads do I need? Looking at the pads available it seems like it’s 272mm would that be correct as that’s the nearest