# Combination of 5 cards given a 7 card set

I haven't done a whole lot of maths since uni and cant remember the equation for this. What I want to know:

Given 7 playing cards, how many 5 card combinations are there from this set?

This is a poker maths problem.

e.g. So given the player has [As, Ac] in his/her hole cards, on a board of [3s, 2c, Kc, Js, Qh]

How many 5 card cominations are there? eg As, 3s, 2c, Js, Qh

-

In general, you can pick 5 cards out of seven in $\binom{7}{5}$ ways, where $\binom{n}{k}=\frac{n!}{k!(n-k)!}$.