Damage roll

This is the amount of damage that is done after a successful attack roll.

Melee attack and thrown weapons
The damage dealt is equal to the weapon's damage dice, plus the weapon's bonus (+1 to +5), plus any damaging enhancement (like Flaming or Pure Good), plus strength (doubled if two-handed fighting), plus Power Attack (doubled if two-handed fighting), plus any extra damage coming from enhancements and any sneak attack when flanking and standing within 30 feet (only fgor thrown weapons.

Ranged attack
The damage dealt is equal to the weapon's damage dice, plus the weapon's bonus (+1 to +5), plus any damaging enhancement (like Flaming or Pure Good), plus strength (only with bow if the character has Bow Strength), plus any extra damage coming from enhancements and any sneak attack when flanking and standing within 30 feet.