A calculator is a device or software application used to perform mathematical operations.