Zendaya has graduated, calling knowledge a "powerful gift".

The 18-year-old musician-and-actress is making her mark on the showbiz world but also put in the time to finish her high-school education.

Now all that hard work has paid off, with Zendaya celebrating her graduation by posting pictures from the event on Instagram and Twitter.

One snap shows her in her mustard-coloured gown, and the star added some words of encouragement to inspire other students.

"Anyway.....IM AN OFFICIAL GRADUATE YALL!!!!!!!!!" she excitedly wrote.

"Shout out, not just to all the 2015 grads but to the soon to be! Please remember knowledge is one of the most powerful gifts we have the privilege of receiving...don't take that for granted. To every soon to be grad, know that you CAN do it! (if I can get through it then anyone can) It's a long road, so many things will pose as obstacles in your way and at times the end seems further and further away, but please remember the importance of that beautiful mind you have and all the limitless powers you hold. All my love #sorryforgettingdeep (sic)"

And Zendaya's celebrity friends were also on hand to offer their congratulations. Taylor Swift, 25, tweeted a picture of her pal in her gown and academic cap, standing among all the other grads.

"I'M NOT CRYING, YOU ARE. @Zendaya #ProudOfYou (sic)," she touchingly captioned the image.