A Twitter user has revealed that Apple's calculator app has a secret backspace feature.

The 19-year-old Baylor University student posted a video showing that you can swipe left or right to erase a number in your calculations, instead of erasing the entire string on numbers and starting over again.

The post has been re-tweeted almost 26,000 times, with many people responding with GIF's to express their surprise at the handy hack.

PSA: you can backspace on the iPhone calculator pic.twitter.com/sBJMlANDNJ — CENSORED dialogue (@censoredialogue) May 3, 2017

In his video, Jazz Johnson showed Apple calculator users that they could swipe left or right to erase a number that has just been typed.

He titled the video 'PSA: you can backspace on the iPhone calculator.'

The video shows how Apple calculator users can swipe either left or right to erase the last number they typed

19-year-old Baylor University student Jazz Johnson (pictured) showed Apple calculator users that they could swipe left or right to erase a number that has just been typed

In response to the twitter revelation, users have been posting replies about how much time they'd spent on clearing calculations with typos until now.

@censoredialogue @midnightdrivin after all those times I had to clear the whole damn thing cause I messed up pic.twitter.com/ySjBq8lZgr — mari (@prettyguyspace) May 3, 2017

One Twitter user, @Fpastell88, said: 'Androids Never had this problem #beenwinning.'

Twitter user @MissEbbyB said: 'This should have came at the back of the phone case.'

@censoredialogue SO SOMEONE TELL ME WHY I HAD TO EARASE COMPLEX CALCULATIONS BECAUSE OF ONE ERROR. THIS SHOULD HAVE CAME AT THE BACK OF THE PHONE CASE. WTF? pic.twitter.com/2x9M1tSsvC — Ezege ���� (@MissEbbyB) May 3, 2017

Twitter user @theEmmaBrockway said: 'I somehow feel betrayed for having never learned about this!!!'

.@censoredialogue I somehow feel betrayed for having never learned about this!!! pic.twitter.com/qXgQ5Ffqvw — Emma Brockway (@theEmmaBrockway) May 3, 2017