ATTACK BONUS

Your attack bonus with a melee weapon is:

Base attack bonus + Strength modifier + size modifier

With a ranged weapon, your attack bonus is:

Base attack bonus + Dexterity modifier + size modifier + range penalty