It should be fine to use on both formal and casual levels.
FYI = for your information
FYI, if you are unable to pass the exam, you will have to retake the whole semester.
FYI, if you are going for a bike riding with us, please make sure that you bring enough water along.