There is no magic formula. Every relationship and every death is a bit different. How they died. How old both you and they are. How close your relationship was and how often you interacted with them. All these things play a role. And everyone deals with grief differently. Some people are very emotional (about many things). Some deal with things in a much more subtle way.
How much you cry (or grieve in other ways) does not necessarily have much to do with how much you cared about them.