How do you split Exp among the party?

What I want to do is I want to make it so that Exp from enemies are split among the party, rather than everyone always getting a constant value regardless of the size of your party.


For example: 


Hiro is alone and by himself. When he kills a dragon, it gives him 4000 Exp.


But when Hiro and his 3 other friends (4 Party Members) kill the dragon, they split the 4000 Exp and get 1000 Exp each.


I tried looking for plugins to do this, but I didn't have any luck finding any.


Is there a way to do this in any way, with/without plugins?
Here ya go:


http://himeworks.com/2016/01/battle-exp-distribution/
Thanks for that!

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-split-exp-among-the-party.64407/