Goodbye is more formal than bye.