Does the standard deduction and personal exemption apply to social-security tax?

I earned about 13k as self-employed, do i get to deduct the standard deduction and personal exemption before self-employment tax is calculated?