Margarm is a village and gram panchayat in Rampurhat II CD Block in Rampurhat subdivision of Birbhum district in the Indian state of West Bengal.