there's gotta be & there must be
I am wondering if these two have the same meaning? i can say: there's gotta be a better way, or there must be a better way, do they have any difference? and for English writing, "there must be" is more formal?
thank you for your help.