Awayis an adverb.Away fromis a multi-word preposition.
Away
We most commonly useawayto mean ‘from here to another place’ or ‘disappearing from sight’:
Please goawayand leave her alone.
He walkedawaywithout saying anything.
The floods were really serious this year but most of the high water has flowedawaynow.
Awaycan also mean ‘not present’ or ‘not here’:
She’sawayat the moment but can I get her to ring you when she returns?
Awaycan refer to ‘the length of time from the time of speaking’ or to ‘the distance from a place’. It comes after the time or distance phrase:
The children are getting very excited cos our trip to China is only a weekaway.
The start of the football season is two monthsawaybut everyone still keeps talking about football.
The town is only three milesaway.
Away from
When we talk about the distance between two places, we can usefar away from:
We’re now in Rome. Howfar away fromRome is Naples?(the same as:How far is Rome from Naples?)
We sometimes useaway from the officemeaning ‘not in’. It is commonly used in email auto-replies:
[out-of-office auto-reply on an email]
I amaway fromthe office until next Tuesday (Sept 21st) and will answer your email as soon as possible after that date.
We can useaway fromto refer to movement:
As he droveaway fromher house, he felt sad.