For all practical purposes:

NaOH: Molecular weight 23 (Na) +17 (OH) = 40
KOH: MW: 39.1 (K) + 17 (OH) = 56

Therefore, for 1g of KOH = 0.71 G of NaOH, ignoring K versus Na counter-ion effects.