Please see the instructions on page 1 of Maryland Form MW507 to see how to claim an exemption so that your employer can withhold the correct Maryland income tax from your pay.
There's a Personal Exemptions Worksheet on page 2 that should help you with the computation.