v2.4.0.6
Document and Entity Information
6 Months Ended
Jun. 30, 2012
Jul. 31, 2012
Document and Entity Information [Abstract]    
Entity Registrant Name Mastech Holdings, Inc.  
Entity Central Index Key 0001437226  
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2012  
Document Fiscal Period Focus Q2  
Document Fiscal Year Focus 2012  
Current Fiscal Year End Date --12-31  
Entity Filer Category Smaller Reporting Company  
Entity Common Stock, Shares Outstanding   3,175,451