James Balfour Lockhart FRSE (1886–27 January 1969) was a Scottish mathematician and teacher. He was generally known as J. B. Lockhart or simply JBL. He was a Fellow of the Royal Society of Edinburgh.