The Australian sharemarket clawed back early losses on Tuesday, finishing the day completely flat as continued uncertainty over Iran worried global markets.

The local sharemarket posted a volatile start to the week on Monday, with gains early in the day all but erased by market close.

Markets face more uncertainty after a wave of strikes on Iran over the weekend and Tehran closed the Strait of Hormuz to shipping.