Ranjit was born in Majipat, Kathmandu to Narayan Govinda Ranjit and Mohan Devi Ranjit. He obtained school level education from J.P. High School. He was arrested at a young age of 17 during King's direct rule of Nepal for supporting democracy. In spite of being in and out of prison for most of his life for advocating freedom and democracy in Nepal, he obtained Master of Arts (Political Science) and studied Master of Public Administration and Bachelor of Law.
