I think its based on the trivial level and char skill level only.
There is an equation in the wiki (
Wiki:tradeskills) but I think its just a guess.
I did grandmaster level several times and near the top end I was happy with the rare 1-in-20 skill up.