A calculator is an electronic or mechanical device used to perform mathematical calculations, ranging from basic arithmetic to complex equations. It is commonly used in education, finance, and various professional fields.