In most recipes, you can substitute pecans for walnuts, and vice versa, in equal measure, but keep in mind that pecans have a more delicate taste and are a bit sweeter, while walnuts are a bit oilier and bitter.