Hansraj Gupta (9 October 1902 – 23 November 1988) was an Indian mathematician specialising in number theory, in particular the study of the partition function.
Gupta was born 9 October 1902 in Rawalpindi, then part of British India.
His father was Gulraj Gupta, an executive engineer with the Bombay, Baroda and Central India Railway.
[citation needed] Gupta was elected a fellow of the Indian National Science Academy (INSA) in 1950.
He served as president of the Indian Mathematical Society (IMS) for the term 1963–64.